setRank: Difference between revisions
Jump to navigation
Jump to search
(setRank is not available for OFP:R.) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|2.92|= Game version | |||
____________________________________________________________________________________________ | |||
| Sets rank of given unit. Possible values: PRIVATE, CORPORAL, SERGEANT, LIEUTENANT, CAPTAIN, MAJOR or COLONEL. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | unit '''setRank''' rank |= Syntax | ||
|p1= unit: [[Object]] |= Parameter 1 | |||
|p2= rank: [[String]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>player setRank "COLONEL"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|SETRANK]] | |||
[[Category:Scripting Commands ArmA|SETRANK]] | |||
Revision as of 23:27, 1 August 2006
Description
- Description:
- Sets rank of given unit. Possible values: PRIVATE, CORPORAL, SERGEANT, LIEUTENANT, CAPTAIN, MAJOR or COLONEL.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
player setRank "COLONEL"
Additional Information
- See also:
- See also needed
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