Template:I ResponseContext: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
''ResponseContext:''
{{ScrollBox|title=ResponseContext|
{{ScrollBoxSettings}}
; <code>AddContext <[[string]]></code>
; <code>AddContext <[[string]]></code>
: 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>.
Line 7: Line 6:
; <code>ClearContext</code>
; <code>ClearContext</code>
: Removes all contexts from this entity's list.
: Removes all contexts from this entity's list.
</div>
}}

Revision as of 08:40, 19 July 2009

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.