weaponCargo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 11: | Line 10: | ||
|gr3= Containers |GROUP3= | |gr3= Containers |GROUP3= | ||
| Get array with weapons from ammo box (or any general weapon holder container). |DESCRIPTION= | | Get array with weapons from ammo box (or any general weapon holder container). |DESCRIPTION= | ||
| [[weaponCargo]] box |SYNTAX= | | [[weaponCargo]] box |SYNTAX= | ||
Line 24: | Line 21: | ||
|x1= <code>[[hint]] [[str]] [[weaponCargo]] [[backpackContainer]] [[player]];</code>|EXAMPLE1= | |x1= <code>[[hint]] [[str]] [[weaponCargo]] [[backpackContainer]] [[player]];</code>|EXAMPLE1= | ||
| [[getWeaponCargo]], [[addWeaponCargo]], [[addWeaponCargoGlobal]], [[clearWeaponCargo]], [[clearWeaponCargoGlobal]], [[magazineCargo]], [[itemCargo]] |SEEALSO= | | [[getWeaponCargo]], [[addWeaponCargo]], [[addWeaponCargoGlobal]], [[clearWeaponCargo]], [[clearWeaponCargoGlobal]], [[magazineCargo]], [[itemCargo]] |SEEALSO= |
Revision as of 04:14, 17 January 2021
Description
- Description:
- Get array with weapons from ammo box (or any general weapon holder container).
- Groups:
- Vehicle InventoryUnit InventoryContainers
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