difficulty: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^\[]+)<\/code>" to "<sqf>$1</sqf>") |
||
Line 17: | Line 17: | ||
|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]] | ||
< | <sqf>hint str difficulty; //Result: 4</sqf> | ||
|seealso= [[difficultyOption]] [[Arma 3: Difficulty Settings]] [[missionDifficulty]] | |seealso= [[difficultyOption]] [[Arma 3: Difficulty Settings]] [[missionDifficulty]] | ||
}} | }} |
Revision as of 20:08, 13 May 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:
- Example 2:
- The command returns the index of selected difficulty as they appear in CfgDifficulties
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