weaponCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) m (Fixed returned value) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[weaponCargo]] box |SYNTAX= | ||
|p1= box: [[Object]] |PARAMETER1= | |p1= box: [[Object]] |PARAMETER1= | ||
| [[Array]] | | [[Array]] of [[String]] - list of present classes |RETURNVALUE= | ||
|x1= <code>[[hint]] [[str]] [[weaponCargo]] [[backpackContainer]] [[player]];</code>|EXAMPLE1= | |x1= <code>[[hint]] [[str]] [[weaponCargo]] [[backpackContainer]] [[player]];</code>|EXAMPLE1= | ||
Line 22: | Line 21: | ||
| [[getWeaponCargo]], [[addWeaponCargo]], [[addWeaponCargoGlobal]], [[clearWeaponCargo]], [[clearWeaponCargoGlobal]], [[magazineCargo]], [[itemCargo]] |SEEALSO= | | [[getWeaponCargo]], [[addWeaponCargo]], [[addWeaponCargoGlobal]], [[clearWeaponCargo]], [[clearWeaponCargoGlobal]], [[magazineCargo]], [[itemCargo]] |SEEALSO= | ||
}} | }} | ||
Line 35: | Line 31: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
Revision as of 20:57, 28 April 2020
Description
- Description:
- Get array with weapons from ammo box (or any general weapon holder container).
- Groups:
- Uncategorised
Syntax
- Syntax:
- weaponCargo box
- Parameters:
- box: Object
- Return Value:
- Array of String - list of present classes
Examples
- Example 1:
hint str weaponCargo backpackContainer player;
Additional Information
- See also:
- getWeaponCargoaddWeaponCargoaddWeaponCargoGlobalclearWeaponCargoclearWeaponCargoGlobalmagazineCargoitemCargo
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