Template:I ResponseContext: Difference between revisions

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