点击图片可看到更多讯息
开始使用于
- 游戏:
- Operation Flashpoint
- 版本:
- 1.00
描述
- 描述:
- Returns if the given vehicle is still able to move. This command checks only the damage value, not the amount of fuel!
基本句法
- 句法:
- Boolean = canMove unitName
- 参数:
- unitName: Object
- 返回值:
- Boolean - true if the vehicle is still able to move, false if not
范例
- 范例1:
- SQS:
?!(canMove _tank) : player sideChat "He's nailed on the ground! Now hurry!"
- 范例2:
if (!canMove _tank) then { player sideChat "He's nailed on the ground! Now hurry!"; };