missionDifficulty: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\];?<\/code>" to "<sqf>_$1 = $2;</sqf>")
Line 14: Line 14:
|r1= [[Number]]
|r1= [[Number]]


|x1= <code>_number = [[missionDifficulty]];</code>
|x1= <sqf>_number = missionDifficulty;</sqf>


|seealso= [[difficultyOption]] [[difficulty]]
|seealso= [[difficultyOption]] [[difficulty]]
}}
}}

Revision as of 21:21, 7 May 2022

Hover & click on the images for description

Description

Description:
Return difficulty that has been forced for this mission, returns -1 if difficulty is not forced and it is used one from player's options.
Groups:
DifficultyMission Information

Syntax

Syntax:
missionDifficulty
Return Value:
Number

Examples

Example 1:
_number = missionDifficulty;

Additional Information

See also:
difficultyOption difficulty

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