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

From Valve Developer Community
Jump to navigation Jump to search
m (Added {{lang}}.)
(Translated page.)
Line 1: Line 1:
<noinclude>{{lang|Template:O BaseEntity}}{{translate:zh-cn}}
<noinclude>{{lang|Template:O BaseEntity}}
This template is our holder for all [[outputs]] that are assigned through {{ent|CBaseEntity}}.
这个模板是我们所有[[outputs:zh-cn|产出]]的持有人,这些产出是通过以下方式分配的 {{ent:zh-cn|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.
要添加<code>OnKilled</code>输出, 添加''<code>|l4d=1</code>''之间''<code>{{O BaseEntity</code>''''<code>}}</code>''. 这个输出是在[[Left 4 Dead (engine branch)|Left 4 Dead engine branch]] '''只有'',没有其他游戏。
 
[[Category:Output Templates:zh-cn|BaseEntity]]
[[Category:Output Templates|BaseEntity]]
----
----
</noinclude><!--
</noinclude><!--
-->{{minititle|基础}}
-->{{minititle|基础}}
{{IO|OnUser1|to=OnUser4|这些输出将分别响应于<code>FireUser1</code> to <code>FireUser4</code> 输入。 详见 [[User Inputs and Outputs]].}}<!--
{{IO:zh-cn|OnUser1|to=OnUser4|这些输出将分别响应于<code>FireUser1</code> to <code>FireUser4</code> 输入。 详见 [[User Inputs and Outputs:zh-cn|用户输入和输出]].}}<!--
-->{{#if:{{{l4d|}}}|<!--
-->{{#if:{{{l4d|}}}|<!--
-->{{IO|OnKilled|only=L4ds|当实体被Kill输入时响应此输出。}}| }}
-->{{IO:zh-cn|OnKilled|only=L4ds|当实体被Kill输入时响应此输出。}}| }}

Revision as of 17:59, 14 September 2021

这个模板是我们所有产出的持有人,这些产出是通过以下方式分配的 CBaseEntity.

要添加OnKilled输出, 添加|l4d=1之间{{O BaseEntity}}. 这个输出是在Left 4 Dead engine branch '只有,没有其他游戏。


基础:

OnUser1 to OnUser4
这些输出将分别响应于FireUser1 to FireUser4 输入。 详见 用户输入和输出.