difficulty: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.56|= Game version ____________________...") |
m (template:command argument fix) |
||
(11 intermediate revisions by 7 users not shown) | |||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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)|DESCRIPTION= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''difficulty''' |= | | '''difficulty''' |SYNTAX= | ||
| [[Number]] |= | | [[Number]] |RETURNVALUE= | ||
|x1= <code>value = difficulty</code>|= | |x1= <code>value = [[difficulty]];</code>|EXAMPLE1= | ||
|x2= The command returns the index of selected difficulty as they appear in ''CfgDifficulties'' | |||
[[Image:Difficulty.jpg|400px|Note: "Insane" is a modded difficulty]] | |||
<code>[[hint]] [[str]] [[difficulty]]; //Result: 4</code>|EXAMPLE2= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[difficultyEnabled]], [[Arma 3 Difficulty Menu]] [[missionDifficulty]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 15:37, 7 April 2019
Description
- Description:
- Returns high-level selected difficulty mode. Returned value will be: 0 (Recruit), 1 (Regular), 2 (Veteran) or 3 (Elite)
- Groups:
- Uncategorised
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