selectWeapon

From Bohemia Interactive Community
Revision as of 14:51, 22 May 2007 by Ceeeb (talk | contribs) (removed my note. I assume the command description will stay this time!!!!)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Selects the given weapon. Note that you have to input the muzzle and not the weapon name (in most cases both names are the same). For muzzle names see cfgWeapons.
Groups:
Uncategorised

Syntax

Syntax:
unit selectWeapon muzzle
Parameters:
unit: Object
muzzle: String
Return Value:
Nothing

Examples

Example 1:
soldier1 selectWeapon "LAWLauncher"
Example 2:
player selectWeapon "M203Muzzle"

Additional Information

See also:
See also needed

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