Template:I ResponseContext: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
'''[[Response_System#Advanced_response_rules_usage|AddContext]] <string>'''
''ResponseContext:''
: Adds a context to this entity's list of [[Response System|response contexts]]. The format should be 'key:value'.
{{ScrollBoxSettings}}
* '''[[Response_System#Advanced_response_rules_usage|RemoveContext]] <string>'''
; <code>AddContext <[[string]]></code>
: Remove a context from this entity's list of response contexts. The name should match the 'key' of a previously added context.
: Adds to the entity's list of [[Response System|response contexts]]. Format is <code><key>:<value></code>.
* '''[[Response_System#Advanced_response_rules_usage|ClearContext]]'''
; <code>RemoveContext <string></code>
: Removes all contexts in this entity's list of response contexts.
: Remove a context from this entity's list. The name should match the key of an existing context.
; <code>ClearContext</code>
: Removes all contexts from this entity's list.
</div>

Revision as of 08:20, 19 July 2009

ResponseContext: Template:ScrollBoxSettings

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.