selectWeapon: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (command uses muzzle, not weapon.) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Select given weapon. For | | Select given weapon muzzle. For muzzle names see [[:Category:Weapons|cfgWeapons]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| unit '''selectWeapon''' | | unit '''selectWeapon''' muzzle |= Syntax | ||
|p1= unit: [[Object]] |= Parameter 1 | |p1= unit: [[Object]] |= Parameter 1 | ||
|p2= | |p2= muzzle: [[String]] |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
Line 20: | Line 20: | ||
|x1= <pre>soldier1 selectWeapon "LAWLauncher"</pre> |= Example 1 | |x1= <pre>soldier1 selectWeapon "LAWLauncher"</pre> |= Example 1 | ||
|x2= <pre>player selectWeapon "M203Muzzle"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 13:49, 12 April 2007
Description
- Description:
- Select given weapon muzzle. For muzzle names see cfgWeapons.
- Groups:
- Uncategorised
Syntax
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