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][http://community.bistudio.com/wiki/clearWeaponCargo]] for vehicle.
Use [[http://community.bistudio.com/wiki/clearWeaponCargo][clearWeaponCargo]] for vehicle.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 17:21, 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

Use [[1][clearWeaponCargo]] for vehicle.

Bottom Section