Template:I ResponseContext: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(wikilinked to Response System)
mNo edit summary
Line 1: Line 1:
'''AddContext <string>'''
'''[[Response_System#Advanced_response_rules_usage|AddContext]] <string>'''
: Adds a context to this entity's list of [[Response System|response contexts]]. The format should be 'key:value'.
: Adds a context to this entity's list of [[Response System|response contexts]]. The format should be 'key:value'.
* '''RemoveContext <string>'''
* '''[[Response_System#Advanced_response_rules_usage|RemoveContext]] <string>'''
: Remove a context from this entity's list of response contexts. The name should match the 'key' of a previously added context.
: Remove a context from this entity's list of response contexts. The name should match the 'key' of a previously added context.
* '''ClearContext'''
* '''[[Response_System#Advanced_response_rules_usage|ClearContext]]'''
: Removes all contexts in this entity's list of response contexts.
: Removes all contexts in this entity's list of response contexts.

Revision as of 18:00, 3 March 2008

AddContext <string>

Adds a context to this entity's list of response contexts. The format should be 'key:value'.
Remove a context from this entity's list of response contexts. The name should match the 'key' of a previously added context.
Removes all contexts in this entity's list of response contexts.