Template:O BaseEntity:zh-cn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
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}}{{translate:zh-cn}}
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:43, 29 August 2021

Template:Translate:zh-cn 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.


基础:

OnUser1 to OnUser4
这些输出将分别响应于FireUser1 to FireUser4 输入。 详见 User Inputs and Outputs.