setUnitRank: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
[[Category:Scripting Commands ArmA|SETUNITRANK]] | [[Category:Scripting Commands ArmA|SETUNITRANK]] | ||
<h2 style="color:#000066">'''''unit'' setUnitRank ''rank'''''</h2> | |||
'''Operand types:''' | |||
''' | '''unit:''' [[Object]] | ||
'''rank:''' [[String]] | |||
'''Type of returned value:''' | '''Type of returned value:''' | ||
[[Nothing]] | |||
'''Compatibility:''' | '''Compatibility:''' | ||
Version 2.33 required. | |||
'''Description:''' | '''Description:''' | ||
Sets rank of given unit. Possible values: PRIVATE, CORPORAL, SERGEANT, LIEUTENANT, CAPTAIN, MAJOR or COLONEL. | |||
'''Example:''' | '''Example:''' | ||
player '''setUnitRank''' "COLONEL" |