setMissionOptions

From Bohemia Interactive Community
Revision as of 12:10, 17 May 2024 by Lou Montana (talk | contribs) (Some wiki formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.18.

Description

Description:
Sets various mission options. The options are automatically reset between missions and are saved/restored with the save system.
Available Options: Providing a empty HashMap will reset all options to defaults.
Groups:
System

Syntax

Syntax:
setMissionOptions options
Parameters:
options: HashMap - a HashMap containing all the options to be changed
Return Value:
Nothing

Examples

Example 1:
setMissionOptions createHashMapFromArray [["IgnoreNoDamage", true], ["IgnoreFakeHeadHit", true]];
Example 2:
setMissionOptions createHashMap; // reset options to default

Additional Information

See also:
getMissionOptions getResolution getAudioOptionVolumes getSubtitleOptions

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