weaponAccessoriesCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 11: | Line 11: | ||
|gr3= Unit Inventory | |gr3= Unit Inventory | ||
| Returns array with all items assigned to the given weapon in given cargo container. | |descr= Returns array with all items assigned to the given weapon in given cargo container. | ||
{{Feature|Warning|This is unofficial documentation. All Information here is as it exists in the Engine. It might not reflect the reality.}} | {{Feature|Warning|This is unofficial documentation. All Information here is as it exists in the Engine. It might not reflect the reality.}} | ||
Revision as of 21:26, 13 June 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
- Example 1:
- -
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