Generic Keyvalues, Inputs and Outputs/Outputs: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Fixed misinformation)
m (Added {{lang}}.)
Line 1: Line 1:
<noinclude>This template is our holder for all [[outputs]] that are assigned through {{ent|CBaseEntity}}.
<noinclude>{{lang|Template:O BaseEntity}}
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 the [[Left 4 Dead (engine branch)|Left 4 Dead engine branch]] '''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.

Revision as of 15:41, 29 August 2021

English (en)中文 (zh)Translate (Translate)

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 to FireUser4 Input; see User Inputs and Outputs.