selectWeapon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (classified)
Line 39: Line 39:
[[Category:Scripting Commands OFP 1.46|SELECTWEAPON]]
[[Category:Scripting Commands OFP 1.46|SELECTWEAPON]]
[[Category:Scripting Commands ArmA|SELECTWEAPON]]
[[Category:Scripting Commands ArmA|SELECTWEAPON]]
[[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]]

Revision as of 06:40, 16 April 2008

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. Fortunately in most cases both names are the same. But check. For muzzle names see cfgWeapons.
Groups:
Uncategorised

Syntax

Syntax:
Unit selectWeapon "muzzleName"
Parameters:
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