Template:I ResponseContext: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (linked the german translation)
m (Reformatted to use IO templates, added to Input Templates category)
Line 4: Line 4:
}}
}}
</noinclude>{{ScrollBox|title=ResponseContext|
</noinclude>{{ScrollBox|title=ResponseContext|
; <code>AddContext <[[string]]></code>
{{IO|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>.
{{IO|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>
{{IO|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>
}}

Revision as of 18:49, 23 January 2020

Template:Otherlang2

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.