selectWeapon

From Bohemia Interactive Community
Revision as of 20:13, 28 July 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"