selectWeapon: Difference between revisions
Jump to navigation
Jump to search
m (removed my note. I assume the command description will stay this time!!!!) |
mNo edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Selects the given weapon. Note that you have to input the muzzle and not the weapon name | | Selects the given weapon. Note that you have to input the <u>muzzle</u> and '''not''' the weapon name. Fortunately in most cases both names are the same. But check. | ||
For muzzle names see [[:Category:Weapons|cfgWeapons]]. |= Description | For muzzle names see [[:Category:Weapons|cfgWeapons]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Object#Unit|Unit]] '''selectWeapon''' "muzzleName" |= Syntax | ||
|p1 | |p1= muzzle: [[String]] | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre> | |x1= <pre>_soldier1 selectWeapon "LAWLauncher"</pre> |= Example 1 | ||
|x2= <pre>player selectWeapon "M203Muzzle"</pre> |= Example | |x2= <pre>player selectWeapon "M203Muzzle"</pre> |= Example 2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 03:47, 30 August 2007
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
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