Generic Keyvalues, Inputs and Outputs/Outputs: Difference between revisions
Jump to navigation
Jump to search
m (.) |
Deprecated (talk | contribs) (OnKilled: Since L4D to only in L4Ds, this is in L4D2 also) |
||
Line 1: | Line 1: | ||
<noinclude>This template is our holder for all [[outputs]] that are assigned through {{ent|CBaseEntity}}. | <noinclude>This template is our holder for all [[outputs]] that are assigned through {{ent|CBaseEntity}}. | ||
To add the <code>OnKilled</code> output, add ''<code>|l4d=1</code>'' between ''<code>{{O BaseEntity</code>'' and ''<code>}}</code>''. This output is in [[Left 4 Dead]] '''only''', no other games. | To add the <code>OnKilled</code> output, add ''<code>|l4d=1</code>'' between ''<code>{{O BaseEntity</code>'' and ''<code>}}</code>''. This output is in the [[Left 4 Dead (engine branch)|Left 4 Dead engine branch]] '''only''', no other games. | ||
[[Category:Output Templates|BaseEntity]] | [[Category:Output Templates|BaseEntity]] | ||
Line 9: | Line 9: | ||
{{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]].}}<!-- | ||
-->{{#if:{{{l4d|}}}|<!-- | -->{{#if:{{{l4d|}}}|<!-- | ||
-->{{IO|OnKilled| | -->{{IO|OnKilled|only=L4ds|This output fires when the entity is killed and removed from the game. {{l4d}} only.}}| }} |
Revision as of 12:47, 24 May 2019
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 the Left 4 Dead engine branch only, no other games.
Base:
- OnUser1 to OnUser4
- These outputs each fire in response to the firing of the like-numbered
FireUser1
toFireUser4
Input; see User Inputs and Outputs.