武装突袭 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

描述

描述:
Check if vehicle is locked for Persons. If it is locked, Persons cannot mount / dismount without order.

基本句法

句法:
locked vehicle
参数:
vehicle: Object
返回值:
Number - since Arma 3: 0 - Unlocked; 1 - Default; 2 - Locked; 3 - Locked for player; -1 - vehicle is null. Older games will return Boolean

范例

范例1:
_locked = locked _jeepOne;

额外资讯

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

注意事项

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

Notes

Posted on March 4, 2013 - 16:20
Druid
From Arma 3 version 0.50 is return value Number:
-1 - Object is null
0 - Unlocked
1 - Default
2 - Locked
3 - Locked for player

Bottom Section

Advertisement