addBackpackGlobal: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (some locality awkwardness) |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 12: | Line 12: | ||
_unit [[spawn]] | _unit [[spawn]] | ||
{ | { | ||
[[if]] (![[isNull]] [[backpackContainer]] _this) [[then]] | [[if]] (![[isNull]] [[backpackContainer]] [[_this]]) [[then]] | ||
{ | { | ||
[[removeBackpackGlobal]] [[_this]]; | [[removeBackpackGlobal]] [[_this]]; |
Revision as of 11:49, 6 February 2019
Description
- Description:
- Adds a backpack to a unit (even non-local).
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit addBackpackGlobal backpack
- Parameters:
- unit: Object - soldier
- backpack: String - backpack class name
- Return Value:
- Nothing
Examples
- Example 1:
player addBackpackGlobal "B_AssaultPack_khk";
Additional Information
- See also:
- addBackpackbackpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note