selectWeapon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (command uses muzzle, not weapon.)
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Select given weapon muzzle. For muzzle names see [[:Category:Weapons|cfgWeapons]]. |= Description
| Selects the given weapon.
 
For weapon names see [[:Category:Weapons|cfgWeapons]]. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''selectWeapon''' muzzle |= Syntax
| unit '''selectWeapon''' weapon |= Syntax


|p1= unit: [[Object]] |= Parameter 1
|p1= unit: [[Object]] |= Parameter 1


|p2= muzzle: [[String]] |= Parameter 2
|p2= weapon: [[String]] |= Parameter 2


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

Revision as of 23:55, 12 April 2007

Hover & click on the images for description

Description

Description:
Selects the given weapon. For weapon names see cfgWeapons.
Groups:
Uncategorised

Syntax

Syntax:
unit selectWeapon weapon
Parameters:
unit: Object
weapon: 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