Template:I ResponseContext: Difference between revisions

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