removeWeaponAttachmentCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:


|1.22|Game version=
|1.22|Game version=
|gr1= Vehicle Inventory |GROUP1=
|gr2= Weapons |GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 11: Line 15:
____________________________________________________________________________________________
____________________________________________________________________________________________


| vehicle '''removeWeaponAttachmentCargo''' [weaponID,creatorID,"attachment"]|SYNTAX=
| object '''removeWeaponAttachmentCargo''' [weaponID,creatorID,"attachment"]|SYNTAX=


|p1= vehicle(with supply): [[Object]] |PARAMETER1=  
|p1= object: [[Object]] - Vehicle or ammo box |PARAMETER1=  


|p2= [weaponID,creatorID,"attachment"]: [[Array]]  |PARAMETER2=  
|p2= [weaponID,creatorID,"attachment"]: [[Array]]  |PARAMETER2=  
Line 19: Line 23:
| [[Nothing]] |RETURNVALUE=  
| [[Nothing]] |RETURNVALUE=  


|x1= <code>rearmTruckOne removeWeaponAttachmentCargo[weaponID,creatorID,"attachment"]</code>|EXAMPLE1=
|x1= <code>rearmTruckOne [[removeWeaponAttachmentCargo]] [weaponID, creatorID, "attachment"]</code>|EXAMPLE1=


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 13:45, 24 September 2020

Hover & click on the images for description

Description

Description:
Remove attachment linked to a weapon from the vehicle cargo space.
This is unofficial documentation. All Information here is as it exists in the Engine. It might not reflect the reality.
Groups:
Vehicle InventoryWeapons

Syntax

Syntax:
object removeWeaponAttachmentCargo [weaponID,creatorID,"attachment"]
Parameters:
object: Object - Vehicle or ammo box
[weaponID,creatorID,"attachment"]: Array
Return Value:
Nothing

Examples

Example 1:
rearmTruckOne removeWeaponAttachmentCargo [weaponID, creatorID, "attachment"]

Additional Information

See also:
removeWeaponCargoweaponAccessoriesCargo

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