Template:I ResponseContext: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
m (→‎top: Substituted IO templates)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
'''AddContext <string>'''
<noinclude>
: Adds a context to this entity's list of response contexts. The format should be 'key:value'.
{{lang|Template:I ResponseContext}}
* '''RemoveContext <string>'''
</noinclude>{{ScrollBox|title=ResponseContext|
: Remove a context from this entity's list of response contexts. The name should match the 'key' of a previously added context.
{{I|AddContext|param=string|Adds to the entity's list of [[Response System|response contexts]]. Format is <code><key>:<value></code>.}}
* '''ClearContext'''
{{I|RemoveContext|param=string|Remove a context from this entity's list. The name should match the key of an existing context.}}
: Removes all contexts in this entity's list of response contexts.
{{I|ClearContext|Removes all contexts from this entity's list.}}
}}<noinclude>
[[Category:Input Templates|ResponseContext]]
</noinclude>

Latest revision as of 12:56, 21 April 2025

ResponseContext:
AddContext <string>
Adds to the entity's list of response contexts. Format is <key>:<value>.
RemoveContext <string>
Remove a context from this entity's list. The name should match the key of an existing context.
ClearContext
Removes all contexts from this entity's list.