difficulty: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 20: Line 20:
<code>[[hint]] [[str]] [[difficulty]]; //Result: 4</code>
<code>[[hint]] [[str]] [[difficulty]]; //Result: 4</code>


| [[difficultyOption]], [[Arma 3: Difficulty Menu]] [[missionDifficulty]]
|seealso= [[difficultyOption]], [[Arma 3: Difficulty Menu]] [[missionDifficulty]]
}}
}}

Revision as of 01:18, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Difficulty

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:
value = difficulty;
Example 2:
The command returns the index of selected difficulty as they appear in CfgDifficulties Note: "Insane" is a modded difficulty hint str difficulty; //Result: 4

Additional Information

See also:
difficultyOptionArma 3: Difficulty Menu missionDifficulty

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