weaponAccessoriesCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.22 | |1.22 | ||
|gr1= Vehicle Inventory | |gr1= Vehicle Inventory | ||
|gr2= Containers | |gr2= Containers | ||
|gr3= Unit Inventory | |gr3= Unit Inventory | ||
| 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.}} | {{Warning|This is unofficial documentation. All Information here is as it exists in the Engine. It might not reflect the reality.}} | ||
| container '''weaponAccessoriesCargo''' [weaponId, creatorId] | | container '''weaponAccessoriesCargo''' [weaponId, creatorId] | ||
|p1= container: [[Object]] - cargo container | |p1= container: [[Object]] - cargo container | ||
|p2= [weaponId, creatorId]: [[Array]] | |p2= [weaponId, creatorId]: [[Array]] | ||
|p3= weaponId: [[Number]] | |p3= weaponId: [[Number]] | ||
|p4= creatorId: [[Number]] | |p4= creatorId: [[Number]] | ||
| [[Array]] - [silencer, laserpointer/flashlight, optics, bipod] | | [[Array]] - [silencer, laserpointer/flashlight, optics, bipod] | ||
|x1 | |x1= | ||
| [[weaponAccessories]], [[primaryWeaponItems]], [[handgunItems]], [[secondaryWeaponItems]], [[weaponsItems]], [[weaponsItemsCargo]], [[removeWeaponAttachmentCargo]], [[removeWeaponCargo]] | | [[weaponAccessories]], [[primaryWeaponItems]], [[handgunItems]], [[secondaryWeaponItems]], [[weaponsItems]], [[weaponsItemsCargo]], [[removeWeaponAttachmentCargo]], [[removeWeaponCargo]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:42, 18 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