weaponAccessoriesCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.22|= Game version _________________...")
 
m (template:command argument fix)
Line 12: Line 12:
| container '''weaponAccessoriesCargo''' [weaponId, creatorId] |= Syntax
| container '''weaponAccessoriesCargo''' [weaponId, creatorId] |= Syntax


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


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




|x1= |= EXAMPLE1
|x1= |EXAMPLE1=  
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:38, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns array with all items assigned to the given weapon in given cargo container.
Groups:
Uncategorised

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:
weaponAccessoriesprimaryWeaponItemshandgunItemssecondaryWeaponItemsweaponsItemsweaponsItemsCargo

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