missionDifficulty

From Bohemia Interactive Community
Revision as of 15:02, 16 February 2023 by Lou Montana (talk | contribs) (Add example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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:
private _number = missionDifficulty;
Example 2:
private _playedDifficulty = missionDifficulty; if (_playedDifficulty == -1) then { _playedDifficulty = difficulty; };

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