Template:I FuncMoveLinear:zh-cn: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) (Created page with "<noinclude>{{lang|Template:I FuncMoveLinear}} 使用 <code>|l4d2=1</code> 来显示两个仅适用于求生之路 2 中的实体的输入。</noinclude>{{minititle|FuncMoveLin...") |
1416006136 (talk | contribs) mNo edit summary |
||
| Line 3: | Line 3: | ||
{{IO:zh-cn|Open|将笔刷移动到结束位置 {''starting position (起始位置) + [move direction (移动方向) * move distance (移动距离)]''}。}} | {{IO:zh-cn|Open|将笔刷移动到结束位置 {''starting position (起始位置) + [move direction (移动方向) * move distance (移动距离)]''}。}} | ||
{{IO:zh-cn|Close|将笔刷移动到起始位置。}} | {{IO:zh-cn|Close|将笔刷移动到起始位置。}} | ||
{{IO:zh-cn|SetPosition|param=float|移动笔刷到指定的位置,其中 0 是起始位置,1 是 ''starting position(起始位置) + [move direction (移动方向) | {{IO:zh-cn|SetPosition|param=float|移动笔刷到指定的位置,其中 0 是起始位置,1 是 ''starting position(起始位置) + [move direction (移动方向) * move distance (移动距离)]''。}} | ||
{{IO:zh-cn|SetSpeed|param=float|设置速度并立即更新。}}<!-- | {{IO:zh-cn|SetSpeed|param=float|设置速度并立即更新。}}<!-- | ||
-->{{#if:{{{l4d2|}}}|{{IO:zh-cn|TeleportToTarget|since=l4d2|param=targetname|{{only:zh-cn|l4d2}}传送到指定实体的原点(位置)。}} | -->{{#if:{{{l4d2|}}}|{{IO:zh-cn|TeleportToTarget|since=l4d2|param=targetname|{{only:zh-cn|l4d2}}传送到指定实体的原点(位置)。}} | ||
Latest revision as of 12:52, 11 June 2022
使用 |l4d2=1 来显示两个仅适用于求生之路 2 中的实体的输入。FuncMoveLinear:
- Open
- 将笔刷移动到结束位置 {starting position (起始位置) + [move direction (移动方向) * move distance (移动距离)]}。
- Close
- 将笔刷移动到起始位置。
- SetPosition <float>
- 移动笔刷到指定的位置,其中 0 是起始位置,1 是 starting position(起始位置) + [move direction (移动方向) * move distance (移动距离)]。
- SetSpeed <float>
- 设置速度并立即更新。