removeAllWeapons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (effects global when executed upon local unit (effects local when executed upon non-local unit))
mNo edit summary
Line 15: Line 15:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''removeAllWeapons''' [[Object#Unit|Unit]]|= Syntax
| '''removeAllWeapons''' unitName|= Syntax
 
|p1= unitName: [[Object]] |= Parameter 1


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

Revision as of 14:45, 24 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

Bottom Section