removeWeaponAttachmentCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


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


| Remove attachment linked to a weapon from the vehicle cargo space.  
| Remove attachment linked to a weapon from the vehicle cargo space.  
{{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.}}|DESCRIPTION=
____________________________________________________________________________________________


| object '''removeWeaponAttachmentCargo''' [weaponID,creatorID,"attachment"]|SYNTAX=
| object '''removeWeaponAttachmentCargo''' [weaponID,creatorID,"attachment"]|SYNTAX=
Line 23: Line 20:
|x1= <code>rearmTruckOne [[removeWeaponAttachmentCargo]] [weaponID, creatorID, "attachment"]</code>|EXAMPLE1=
|x1= <code>rearmTruckOne [[removeWeaponAttachmentCargo]] [weaponID, creatorID, "attachment"]</code>|EXAMPLE1=


____________________________________________________________________________________________


| [[removeWeaponCargo]], [[weaponAccessoriesCargo]] |SEEALSO=  
| [[removeWeaponCargo]], [[weaponAccessoriesCargo]] |SEEALSO=  
____________________________________________________________________________________________
}}
}}



Revision as of 02:13, 17 January 2021

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 Inventory

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