Generic Keyvalues, Inputs and Outputs/Outputs: Difference between revisions
Jump to navigation
Jump to search
(spacing) |
(minititle) |
||
Line 6: | Line 6: | ||
---- | ---- | ||
</noinclude><!-- | </noinclude><!-- | ||
-->{{IO|OnUser1|to=OnUser4|These outputs each fire in response to the firing of the like-numbered <code>FireUser1</code> to <code>FireUser4</code> Input; see [[User Inputs and Outputs]].}}<!-- | -->{{minititle|BaseEntity}} | ||
{{IO|OnUser1|to=OnUser4|These outputs each fire in response to the firing of the like-numbered <code>FireUser1</code> to <code>FireUser4</code> Input; see [[User Inputs and Outputs]].}}<!-- | |||
-->{{#if:{{{l4d|}}}|<!-- | -->{{#if:{{{l4d|}}}|<!-- | ||
-->{{IO|OnKilled|since=L4D|This output fires when the entity is killed and removed from the game. {{l4d}} only.}}| }} | -->{{IO|OnKilled|since=L4D|This output fires when the entity is killed and removed from the game. {{l4d}} only.}}| }} |
Revision as of 19:05, 4 September 2018
This template is our holder for all outputs that are assigned through CBaseEntity.
To add the OnKilled
output, add |l4d=1
between {{O BaseEntity
and }}
. This output is in Left 4 Dead only, no other games.
BaseEntity:
- OnUser1 to OnUser4
- These outputs each fire in response to the firing of the like-numbered
FireUser1
toFireUser4
Input; see User Inputs and Outputs.