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

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (translation correction)
 
Line 2: Line 2:
这个模板是我们所有[[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]]
----
----

Latest revision as of 20:01, 3 September 2022

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

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


Base/基础:

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