rankId: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (template:command argument fix) |
||
Line 21: | Line 21: | ||
| '''rankId''' unit |= Syntax | | '''rankId''' unit |= Syntax | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
|p2= |= | |p2= |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| [[Number]] |= | | [[Number]] |RETURNVALUE= | ||
|x1= <code>_myIdRank <nowiki>=</nowiki> rankId player;</code>|= | |x1= <code>_myIdRank <nowiki>=</nowiki> rankId player;</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[rank]] |= | | [[rank]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:36, 7 April 2019
Description
- Description:
- Return the rank of the given unit for comparison.
Value may be :
- 0 - Private
- 1 - Corporal
- 2 - Sergeant
- 3 - Lieutenant
- 4 - Captain
- 5 - Major
- 6 - Colonel
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_myIdRank = rankId player;
Additional Information
- See also:
- rank
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