Template:I ResponseContext: Difference between revisions

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