setRank

From Bohemia Interactive Community
Revision as of 16:58, 4 July 2006 by Raedor (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


unit setRank rank


Operand types:

unit: Object

rank: String

Type of returned value:

Nothing

Compatibility:

Version 2.92 required.

Description:

Sets rank of given unit. Possible values: PRIVATE, CORPORAL, SERGEANT, LIEUTENANT, CAPTAIN, MAJOR or COLONEL.


Example:

player setRank "COLONEL"