missionDifficulty: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________
|arma3 |= Game
|arma3 |= Game
|1.62|Game Version=
|1.62|Game Version=
Line 9: Line 8:


|gr2= Mission Information |GROUP2=
|gr2= Mission Information |GROUP2=
____________________________________________________________________________________________
| 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. |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. |DESCRIPTION=
____________________________________________________________________________________________
| [[missionDifficulty]] |SYNTAX=
| [[missionDifficulty]] |SYNTAX=
| [[Number]] |RETURNVALUE=
| [[Number]] |RETURNVALUE=

Revision as of 02:56, 17 January 2021

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

Bottom Section