武装突袭 Wiki
Advertisement
  Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

点击图片可看到更多讯息

开始使用于

游戏:
Arma 2: Operation Arrowhead
版本:
1.55

描述

描述:
Add backpack(s) to the cargo space of vehicle. Classname list of available backpacks is here.
Arma 3 logo black In Arma 3, arguments for this command must be local (Arguments of this scripting command have to be local to the client the command is executed on). For global variant see addBackpackCargoGlobal

基本句法

句法:
vehicle addBackpackCargo [packClassName,count]
参数:
[packClassName,count]: Array
vehicle: Object - vehicle to add the backpack to
packClassName: String - backpack classname
count: Number - number of backpacks to add.
返回值:
Nothing

范例

范例1:
this addBackpackCargo ["TK_RPG_Backpack_EP1",2];
范例2:
_apc addBackpackCargo ["US_Patrol_Pack_EP1",4];

额外资讯

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

注意事项

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

Notes

Bottom Section

Advertisement