difficulty: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.56 | |0.56 | ||
|gr1= Difficulty | |gr1= Difficulty | ||
| Returns high-level selected difficulty mode. | | Returns high-level selected difficulty mode. | ||
Returned value will be: 0 (Recruit), 1 (Regular), 2 (Veteran) or 3 (Elite) | Returned value will be: 0 (Recruit), 1 (Regular), 2 (Veteran) or 3 (Elite) | ||
| '''difficulty''' | | '''difficulty''' | ||
| [[Number]] | | [[Number]] | ||
|x1= <code>value = [[difficulty]];</code> | |x1= <code>value = [[difficulty]];</code> | ||
|x2= The command returns the index of selected difficulty as they appear in ''CfgDifficulties'' | |x2= The command returns the index of selected difficulty as they appear in ''CfgDifficulties'' | ||
[[Image:Difficulty.jpg|400px|Note: "Insane" is a modded difficulty]] | [[Image:Difficulty.jpg|400px|Note: "Insane" is a modded difficulty]] | ||
<code>[[hint]] [[str]] [[difficulty]]; //Result: 4</code> | <code>[[hint]] [[str]] [[difficulty]]; //Result: 4</code> | ||
| [[difficultyOption]], [[Arma 3 Difficulty Menu]] [[missionDifficulty]] | | [[difficultyOption]], [[Arma 3 Difficulty Menu]] [[missionDifficulty]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:30, 18 January 2021
Description
- Description:
- Returns high-level selected difficulty mode. Returned value will be: 0 (Recruit), 1 (Regular), 2 (Veteran) or 3 (Elite)
- Groups:
- Difficulty
Syntax
- Syntax:
- difficulty
- Return Value:
- Number
Examples
- Example 1:
value = difficulty;
- Example 2:
- The command returns the index of selected difficulty as they appear in CfgDifficulties
hint str difficulty; //Result: 4
Additional Information
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