difficulty: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *('''[a-zA-Z0-9]+''') \|r1=" to " \|s1= $1 |r1=")
m (Text replacement - " \|s1=" to " |s1=")
Line 11: Line 11:
Returned value will be: 0 (Recruit), 1 (Regular), 2 (Veteran) or 3 (Elite)
Returned value will be: 0 (Recruit), 1 (Regular), 2 (Veteran) or 3 (Elite)


\|s1= '''difficulty'''
|s1= '''difficulty'''


|r1= [[Number]]
|r1= [[Number]]

Revision as of 16:43, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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 Note: "Insane" is a modded difficulty hint str difficulty; //Result: 4

Additional Information

See also:
difficultyOptionArma 3: Difficulty Settings 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