setUnitRank

From Bohemia Interactive Community
Revision as of 22:30, 4 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


unit setUnitRank rank


Operand types:

unit: Object

rank: String

Type of returned value:

Nothing

Compatibility:

Version 2.33 required.

Description:

Sets rank of given unit.

Possible values: PRIVATE, CORPORAL, SERGEANT, LIEUTENANT, CAPTAIN, MAJOR or COLONEL.


Example:

player setUnitRank "COLONEL"