rank
- Global argument
- Arma 3 v0.50
- First in Armed Assault v1.00
Command · Markdown · JSON · original wiki page
Description
Returns the rank of the given unit. Rank can be one of the following:
"PRIVATE""CORPORAL""SERGEANT""LIEUTENANT""CAPTAIN""MAJOR""COLONEL"
Syntax
rank unit
Parameters:
unit: Object
Returns: String
Examples
Example 1
_rank = rank player;
See also
rankId · rating · addRating · setUnitRank · ArmA: Rating Values