武装突袭 Wiki
Advertisement
Introduced with Arma 3 version 0.50
  Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

点击图片可看到更多讯息

开始使用于

游戏:
Arma 3
版本:
0.50

描述

描述:
Creates new item and tries to add it into inventory. Inventory must have enough space to accomodate new item or command will fail.

基本句法

句法:
unit addItem item
参数:
unit: Object
item: String
返回值:
Nothing

范例

范例1:
bluforUnit addItem "NVGoggles"; bluforUnit assignItem "NVGoggles"; opforUnit addItem "NVGoggles_OPFOR"; opforUnit assignItem "NVGoggles_OPFOR"; independentUnit addItem "NVGoggles_INDEP"; independentUnit assignItem "NVGoggles_INDEP";

额外资讯

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

注意事项

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

Notes

Bottom Section

Advertisement