clearWeaponCargo: Difference between revisions

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


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


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


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>clearWeaponCargo truck</pre> |= Example 1
|x1= <pre>clearWeaponCargo _truck</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 06:44, 27 August 2007

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 Vehicle
Parameters:
Vehicle: 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