Generic Keyvalues, Inputs and Outputs/Outputs: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{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 Ou...") |
(good to go. nothing missing, formatting done, everything) |
||
Line 1: | Line 1: | ||
<noinclude>This template is our holder for all [[inputs]] that are assigned through {{ent|CBaseEntity}}. | |||
To add the <code>OnKilled</code> input, add ''<code>|l4d=1</code>'' between ''<code>{{O BaseEntity</code>'' and ''<code>}}</code>''. This output is in [[Left 4 Dead]] '''only''', no other games. | |||
[[Category:Output Templates|BaseEntity]] | |||
---- | |||
</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]].}} | {{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]].}} | ||
{{IO|OnKilled|since=L4D|This Output fires when the entity is killed and removed from the game. {{l4d}} only.}} | {{#if:{{{l4d|}}}|{{IO|OnKilled|since=L4D|This Output fires when the entity is killed and removed from the game. {{l4d}} only.}}| }}<noinclude>{{IO|OnKilled|since=L4D|This Output fires when the entity is killed and removed from the game. {{l4d}} only.}}</noinclude> | ||
<noinclude> |
Revision as of 23:16, 17 August 2018
This template is our holder for all inputs that are assigned through CBaseEntity.
To add the OnKilled
input, add |l4d=1
between {{O BaseEntity
and }}
. This output is in Left 4 Dead only, no other games.
- OnUser1 to OnUser4
- These Outputs each fire in response to the firing of the like-numbered
FireUser1
toFireUser4
Input; see User Inputs and Outputs.
- OnKilled (in all games since
)
- This Output fires when the entity is killed and removed from the game.
only.