Zh/Keyvalue/Targetname: Difference between revisions
Jump to navigation
Jump to search
注意:此模板已弃用。对于新的实体页面,请改用 Template:KV BaseEntity:zh-cn。
1416006136 (talk | contribs) (update) |
Thunder4ik (talk | contribs) m (→top: clean up, replaced: {{note:zh-cn → {{note (2)) |
||
Line 1: | Line 1: | ||
<noinclude>{{lang|Template:KV Targetname}} | <noinclude>{{lang|Template:KV Targetname}} | ||
{{note | {{note|'''此模板已弃用。对于新的实体页面,请改用 [[Template:KV BaseEntity:zh-cn]]。'''}} | ||
</noinclude> | </noinclude> | ||
{{ScrollBox|title=Targetname| | {{ScrollBox|title=Targetname| | ||
Line 6: | Line 6: | ||
{{#if:{{{l4d2|}}}| | {{#if:{{{l4d2|}}}| | ||
{{KV:zh-cn|Entity Scripts|scriptlist|intn=vscripts|在所有实体生成后执行的 [[VScript]] 文件(无文件扩展名)的空格分隔列表。这些脚本都在同一个脚本范围内执行,以后的脚本会覆盖任何相同的变量和函数。|since={{l4d2}}}} | {{KV:zh-cn|Entity Scripts|scriptlist|intn=vscripts|在所有实体生成后执行的 [[VScript]] 文件(无文件扩展名)的空格分隔列表。这些脚本都在同一个脚本范围内执行,以后的脚本会覆盖任何相同的变量和函数。|since={{l4d2}}}} | ||
{{KV:zh-cn|Script think function|string|intn=thinkfunction|此实体脚本中的函数名称,该函数将在脚本持续时间内每 100 毫秒(每秒 10 次)自动调用一次。它可用于创建计时器或模拟自主行为。返回值(如果存在)将设置下一次调用之前的时间。{{note | {{KV:zh-cn|Script think function|string|intn=thinkfunction|此实体脚本中的函数名称,该函数将在脚本持续时间内每 100 毫秒(每秒 10 次)自动调用一次。它可用于创建计时器或模拟自主行为。返回值(如果存在)将设置下一次调用之前的时间。{{note|尽量避免在这个函数中进行昂贵的操作,因为它可能会导致性能问题。}}|since={{l4d2}}}} | ||
| }} | | }} | ||
}}<noinclude> | }}<noinclude> | ||
[[Category:Keyvalue Templates:zh-cn|Targetname]] | [[Category:Keyvalue Templates:zh-cn|Targetname]] | ||
</noinclude> | </noinclude> |
Revision as of 12:11, 6 January 2024

This translated page needs to be updated.
You can help by updating the translation.
Also, please make sure the article complies with the alternate languages guide.
This notice is put here by LanguageBar template and if you want to remove it after updating the translation you can do so on this page.
You can help by updating the translation.
Also, please make sure the article complies with the alternate languages guide.
This notice is put here by LanguageBar template and if you want to remove it after updating the translation you can do so on this page.

Targetname: