rank: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (not related to CfgRanks)
Line 10: Line 10:


| Returns the rank of the given unit. Rank can be one of the following:
| Returns the rank of the given unit. Rank can be one of the following:
* "PRIVATE"
* <tt>"PRIVATE"</tt>
* "CORPORAL"
* <tt>"CORPORAL"</tt>
* "SERGEANT"
* <tt>"SERGEANT"</tt>
* "LIEUTENANT"
* <tt>"LIEUTENANT"</tt>
* "CAPTAIN"
* <tt>"CAPTAIN"</tt>
* "MAJOR"
* <tt>"MAJOR"</tt>
* "COLONEL" |DESCRIPTION=
* <tt>"COLONEL"</tt> |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:52, 15 September 2019

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns the rank of the given unit. Rank can be one of the following:
  • "PRIVATE"
  • "CORPORAL"
  • "SERGEANT"
  • "LIEUTENANT"
  • "CAPTAIN"
  • "MAJOR"
  • "COLONEL"
Groups:
Uncategorised

Syntax

Syntax:
rank unitName
Parameters:
unitName: Object
Return Value:
String

Examples

Example 1:
_rank = rank player;

Additional Information

See also:
ratingaddRatingsetUnitRankRating Values

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section