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

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude>{{lang|Template:O BaseEntity}}
<noinclude>{{Strings notice}}
This template is our holder for all [[outputs]] that are assigned through {{ent|CBaseEntity}}.
This template is our holder for all [[outputs]] that are assigned through {{ent|CBaseEntity}}.



Revision as of 19:58, 13 August 2024

Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

This template is our holder for all outputs that are assigned through CBaseEntity.

To add the OnKilled output, use {{O BaseEntity|l4d=1}}. This output is in the Left 4 Dead engine branch only, no other source 1 games.

For games on the Source 2 engine, use {{O BaseEntity|s2=1}}


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.