backpackSpaceFor: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
||
Line 5: | Line 5: | ||
|1.51 | |1.51 | ||
|gr1 = Containers | |gr1= Containers | ||
| Returns how much space is in backpack for given weapon or magazine | | Returns how much space is in backpack for given weapon or magazine |
Revision as of 12:47, 11 April 2021
Description
- Description:
- Description needed
- Groups:
- Containers
Syntax
- Syntax:
- Syntax needed
- Parameters:
- backpack: Object
- weaponName: String
- Return Value:
- Return value needed
Examples
- Example 1:
(backpack player) backpackSpaceFor "m16"; // [weapons, magazines]
Additional Information
- See also:
- backpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack
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