selectWeapon: Difference between revisions
Jump to navigation
Jump to search
m (note about muzzles for multi-muzzle weapons) |
mNo edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Selects the given weapon. | | 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 | 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 |
Revision as of 14:43, 22 May 2007
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
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
- Ceeeb
- This command uses a muzzle name rather than a weapon name, when selecting a weapon with more than one muzzle.