Outputs

From Valve Developer Community
< Generic Keyvalues, Inputs and Outputs
Revision as of 11:20, 19 June 2024 by FrozenH2O (talk | contribs) (Add an option for Source 2 games to include OnKilled with a new description and no L4D warning)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)

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.