backpackItems: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 78481 by Ffur2007slx2 5 on 2014-04-29T08:09:31Z) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| '''backpackItems''' unit |= Syntax | | '''backpackItems''' unit |= Syntax | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
| [[Array]] |= | | [[Array]] |RETURNVALUE= | ||
Line 22: | Line 22: | ||
"hgun_P07_F", | "hgun_P07_F", | ||
"Titan_AT" | "Titan_AT" | ||
]</code>|= | ]</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[uniformItems]], [[vestItems]], [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[addBackpack]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[removeBackpack]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]] |= | | [[uniformItems]], [[vestItems]], [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[addBackpack]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[removeBackpack]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:28, 7 April 2019
Description
- Description:
- Get array with all items (of any kind, even weapons) in backpack of the given unit.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
backpackItems player;
[ "hgun_P07_F", "Titan_AT" ]
Additional Information
- See also:
- uniformItemsvestItemsbackpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargoaddBackpackaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack
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