weaponAccessoriesCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
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|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.22|Game version=
|1.22


|gr1= Vehicle Inventory |GROUP1=
|gr1= Vehicle Inventory


|gr2= Containers |GROUP2=
|gr2= Containers


|gr3= Unit Inventory |GROUP3=
|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.}}|DESCRIPTION=
{{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] |SYNTAX=
| container '''weaponAccessoriesCargo''' [weaponId, creatorId]


|p1= container: [[Object]] - cargo container |PARAMETER1=
|p1= container: [[Object]] - cargo container
|p2= [weaponId, creatorId]: [[Array]] |PARAMETER2=
|p2= [weaponId, creatorId]: [[Array]]
|p3= weaponId: [[Number]] |PARAMETER3=
|p3= weaponId: [[Number]]
|p4= creatorId: [[Number]] |PARAMETER4=
|p4= creatorId: [[Number]]


| [[Array]] -  [silencer, laserpointer/flashlight, optics, bipod] |RETURNVALUE=
| [[Array]] -  [silencer, laserpointer/flashlight, optics, bipod]




|x1= |EXAMPLE1=  
|x1=


| [[weaponAccessories]], [[primaryWeaponItems]], [[handgunItems]], [[secondaryWeaponItems]], [[weaponsItems]], [[weaponsItemsCargo]], [[removeWeaponAttachmentCargo]], [[removeWeaponCargo]] |SEEALSO=
| [[weaponAccessories]], [[primaryWeaponItems]], [[handgunItems]], [[secondaryWeaponItems]], [[weaponsItems]], [[weaponsItemsCargo]], [[removeWeaponAttachmentCargo]], [[removeWeaponCargo]]


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 12:42, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns array with all items assigned to the given weapon in given cargo container.
This is unofficial documentation. All Information here is as it exists in the Engine. It might not reflect the reality.
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