removeAllWeapons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 32: Line 32:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
Use [[clearWeaponCargo]] for vehicle.
<dd class="notedate"></dd>
<dt class="note">'''[[User:Spec|Spec]]'''</dt>
<dd class="note">You can use [[clearWeaponCargo]] and [[clearMagazineCargo]] for vehicles.
</dd>
 
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 18:28, 31 January 2009

Hover & click on the images for description

Description

Description:
Remove all weapons and magazines of the unit. On vehicles only ammo is removed
Groups:
Uncategorised

Syntax

Syntax:
removeAllWeapons unitName
Parameters:
unitName: Object
Return Value:
Nothing

Examples

Example 1:
removeAllWeapons player

Additional Information

See also:
removeWeapon

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

Spec
You can use clearWeaponCargo and clearMagazineCargo for vehicles.

Bottom Section