clearWeaponCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (changed global to local variable to make clear the variable)
No edit summary
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''clearWeaponCargo''' [[Object#Vehicle|Vehicle]]|= Syntax
| '''clearWeaponCargo''' vehicleName|= Syntax


|p1= [[Object#Vehicle|Vehicle]]: [[Object]] |= Parameter 1
|p1= vehicleName: [[Object]] |= Parameter 1


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 17:17, 21 January 2009

Hover & click on the images for description

Description

Description:
Remove all weapons from the given vehicle's weapon cargo space.
Groups:
Uncategorised

Syntax

Syntax:
clearWeaponCargo vehicleName
Parameters:
vehicleName: Object
Return Value:
Nothing

Examples

Example 1:
clearWeaponCargo _truck

Additional Information

See also:
addMagazineCargoclearMagazineCargoaddWeaponCargo

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