setRank: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
(setRank is not available for OFP:R.)
Line 1: Line 1:
[[Category:Scripting Commands|SETRANK]]
[[Category:Scripting Commands|SETRANK]]
[[Category:Scripting Commands OFP 1.96|SETRANK]]
[[Category:Scripting Commands ArmA|SETRANK]]
[[Category:Scripting Commands ArmA|SETRANK]]



Revision as of 22:51, 20 July 2006


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"