weaponCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Comments" to "|Comments=") |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3 $4 $5;</sqf>") |
||
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 |= | |game1= arma3 | ||
|version1= 0.50 | |||
| | |gr1= Vehicle Inventory | ||
| | |gr2= Unit Inventory | ||
| | |gr3= Containers | ||
| | |descr= Get array with weapons from ammo box (or any general weapon holder container). | ||
| [[ | |s1= [[weaponCargo]] box | ||
|p1= box: [[Object]] | |||
| | |r1= [[Array]] of [[String]] - list of present classes | ||
|x1= <sqf>hint str weaponCargo backpackContainer player;</sqf> | |||
| [[getWeaponCargo]] | |seealso= [[getWeaponCargo]] [[addWeaponCargo]] [[addWeaponCargoGlobal]] [[clearWeaponCargo]] [[clearWeaponCargoGlobal]] [[magazineCargo]] [[itemCargo]] | ||
}} | }} | ||
Latest revision as of 14:11, 5 May 2022
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:
Additional Information
- See also:
- getWeaponCargo addWeaponCargo addWeaponCargoGlobal clearWeaponCargo clearWeaponCargoGlobal magazineCargo itemCargo
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