weaponAccessoriesCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
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= Unit Inventory |GROUP3= | |gr3= Unit Inventory |GROUP3= | ||
| Returns array with all items assigned to the given weapon in given cargo container. | | Returns array with all items assigned to the given weapon in given cargo container. | ||
{{Warning|This is unofficial documentation. All Information here is as it exists in the Engine. It might not reflect the reality.}}|DESCRIPTION= | {{Warning|This is unofficial documentation. All Information here is as it exists in the Engine. It might not reflect the reality.}}|DESCRIPTION= | ||
| container '''weaponAccessoriesCargo''' [weaponId, creatorId] |SYNTAX= | | container '''weaponAccessoriesCargo''' [weaponId, creatorId] |SYNTAX= | ||
Line 28: | Line 25: | ||
|x1= |EXAMPLE1= | |x1= |EXAMPLE1= | ||
| [[weaponAccessories]], [[primaryWeaponItems]], [[handgunItems]], [[secondaryWeaponItems]], [[weaponsItems]], [[weaponsItemsCargo]], [[removeWeaponAttachmentCargo]], [[removeWeaponCargo]] |SEEALSO= | | [[weaponAccessories]], [[primaryWeaponItems]], [[handgunItems]], [[secondaryWeaponItems]], [[weaponsItems]], [[weaponsItemsCargo]], [[removeWeaponAttachmentCargo]], [[removeWeaponCargo]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 04:20, 17 January 2021
Description
- Description:
- Returns array with all items assigned to the given weapon in given cargo container.
- Groups:
- Vehicle InventoryContainersUnit Inventory
Syntax
- Syntax:
- container weaponAccessoriesCargo [weaponId, creatorId]
- Parameters:
- container: Object - cargo container
- [weaponId, creatorId]: Array
- weaponId: Number
- creatorId: Number
- Return Value:
- Array - [silencer, laserpointer/flashlight, optics, bipod]
Examples
- Examples:
- Example needed
Additional Information
- See also:
- weaponAccessoriesprimaryWeaponItemshandgunItemssecondaryWeaponItemsweaponsItemsweaponsItemsCargoremoveWeaponAttachmentCargoremoveWeaponCargo
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
Notes
Bottom Section