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

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (translation correction)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{lang|Template:O BaseEntity}}
<noinclude>{{lang|Template:O BaseEntity}}
这个模板是我们所有[[outputs|输出]]的持有人,这些输出是通过以下方式分配的{{ent|CBaseEntity}}。
这个模板是我们所有[[outputs|输出]]的持有者,这些输出是通过以下方式分配的{{ent|CBaseEntity}}。


要添加<code>OnKilled</code>输出, 添加''<code>|l4d=1</code>''之间''<code>{{O BaseEntity</code>''''<code>}}</code>''. 这个输出是''仅在''[[Left 4 Dead (engine branch)|求生之路引擎分支]]中存在,没有其他游戏。
要添加<code>OnKilled</code>输出,在''<code>{{O BaseEntity</code>''''<code>}}</code>''之间添加''<code>|l4d=1</code>''参数。这个输出是''仅在''[[Left 4 Dead (engine branch)|求生之路引擎分支]]中存在,没有其他游戏。
[[Category:Output Templates:zh-cn|BaseEntity]]
[[Category:Output Templates:zh-cn|BaseEntity]]
----
----
</noinclude><!--
</noinclude><!--
-->{{minititle|基础}}
-->{{minititle|Base/基础}}
{{IO:zh-cn|OnUser1|to=OnUser4|这些输出将分别响应于<code>FireUser1</code> to <code>FireUser4</code> 输入。 详见 [[User Inputs and Outputs|用户输入和输出]].}}<!--
{{IO:zh-cn|OnUser1|to=OnUser4|这些输出将分别响应于 <code>FireUser1</code> <code>FireUser4</code> 输入。 详见 [[User Inputs and Outputs]]}}<!--
-->{{#if:{{{l4d|}}}|<!--
-->{{#if:{{{l4d|}}}|<!--
-->{{IO:zh-cn|OnKilled|only=L4ds|当实体被Kill输入时响应此输出。}}| }}
-->{{IO:zh-cn|OnKilled|only=L4ds|当实体被Kill输入时响应此输出。}} }}

Latest revision as of 20:01, 3 September 2022

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

要添加OnKilled输出,在{{O BaseEntity}}之间添加|l4d=1参数。这个输出是仅在求生之路引擎分支中存在,没有其他游戏。


Base/基础:

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