selectWeapon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 26: | Line 26: | ||
Select given '''weapon'''. | Select given '''weapon'''. | ||
For weapon values see [[Weapons]]. | For weapon values see [[Weapons|cfgWeapons]]. | ||
Revision as of 21:08, 23 April 2006
unit selectWeapon weapon
Operand types:
unit: Object
weapon: String
Type of returned value:
Compatibility:
Added in version 1.27
Description:
Select given weapon.
For weapon values see cfgWeapons.
Example:
soldier1 selectWeapon "LAWLauncher"