Template:I ResponseContext: Difference between revisions

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