difficulty: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
Lou Montana (talk | contribs) |
||
Line 19: | Line 19: | ||
<code>[[hint]] [[str]] [[difficulty]]; //Result: 4</code> | <code>[[hint]] [[str]] [[difficulty]]; //Result: 4</code> | ||
|seealso= [[difficultyOption]] | |seealso= [[difficultyOption]] [[Arma 3: Difficulty Settings]] [[missionDifficulty]] | ||
}} | }} |
Revision as of 14:55, 20 January 2022
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