rank unitName
Operand types
Type of returned value
Description
Return the rank of the given unit.
Rank can be one of the following:
* "PRIVATE"
* "CORPORAL"
* "SERGEANT"
* "LIEUTENANT"
* "CAPTAIN"
* "MAJOR"
* "COLONEL"
Used In
ArmA
Example
_rank = rank _TankOne