difficulty: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=") |
Lou Montana (talk | contribs) m (Text replacement - "\|" to "|") |
||
Line 13: | Line 13: | ||
| '''difficulty''' | | '''difficulty''' | ||
|r1= [[Number]] | |||
|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]] |
Revision as of 10:33, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Difficulty
Syntax
- Syntax:
- Syntax needed
- 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