selectWeapon

From Bohemia Interactive Community
Revision as of 21:08, 23 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


unit selectWeapon weapon


Operand types:

unit: Object

weapon: String

Type of returned value:

Nothing

Compatibility:

Added in version 1.27

Description:

Select given weapon.

For weapon values see cfgWeapons.


Example:

soldier1 selectWeapon "LAWLauncher"