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

描述

描述:
Assigns existing item from inventory (uniform, vest, backpack) to a correct slot. If the slot is occupied by another item, it gets replaced.

基本句法

句法:
unit assignItem 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";

額外資訊

多人遊戲:
-
也可以看看:
unassignItemaddItemremoveItemlinkItemunlinkItemassignedItemsremoveAllAssignedItems

注意事項

此處撰寫句法皆為可行用法. 可到官網[1]專頁回報錯誤. 你可以使用討論頁面或是論壇來進行討論.
新增注意事項 | 如何新增?

Notes

Bottom Section

Advertisement