武装突袭 Wiki
Advertisement
Introduced with Operation Flashpoint version 1.00
  Arguments of this scripting command don't have to be local to the client the command is executed on

点击图片可看到更多讯息

开始使用于

游戏:
Operation Flashpoint
版本:
1.00

描述

描述:
Returns the direction an object or a location is facing (differs from getDir in that this also works with locations).

基本句法

句法:
direction object
参数:
object: Object or Location
返回值:
Number - Direction in degrees, range 0 to 360

范例

范例1:
player setDir 90; _d = direction player;//returns 90

额外资讯

多人游戏:
-
也可以看看:
getDirgetDirVisualsetDirsetDirection

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Bottom Section

Advertisement