Description
Sets various mission options. The options are automatically reset between missions and are saved/restored with the save system.
Available Options:
- IgnoreNoDamage: Boolean - (default false) true to filter out no change in damage from HandleDamage calls
- IgnoreFakeHeadHit: Boolean - (default false) true to filter out FakeHeadHit context from HandleDamage calls
- IgnoreUpsideDownDamage: Boolean - (default false) true to ignore some minor upside down damage accumulation for a helicopter
- Arma 3 v2.20 SnakesCanOpenDoors: Boolean - (default false) true to revert to legacy behaviour when snakes would open doors when entering houses
- Arma 3 v2.20 AIThinkOnlyLocal: Boolean - (default false) true to disable processing targetting data for remote AI units, knowsAbout, targets and similar commands will cease to work on remote units. For a gain in client performance because they no longer have to calculate all AI units.
- Arma 3 v2.24 MapSymbolIsHiddenWithTheObject: Boolean - (default true) true to hide map symbol when terrain object is hidden.
- Arma 3 v2.24 MapHideForests: Boolean - (default false) true to hide map symbols for forests.
- Arma 3 v2.24 MapHideRockFormations: Boolean - (default false) true to hide map symbols for rock formations.
- Arma 3 v2.24 MapHideTowns: Boolean - (default false) true to hide map symbols for towns.
- Arma 3 v2.24 MapHideRoads: Boolean - (default false) true to hide map symbols for roads.
- Arma 3 v2.24 MapHideRivers: Boolean - (default false) true to hide map symbols for rivers.
- Arma 3 v2.24 MapHideSigns: Boolean - (default false) true to hide map icons for objects.
- Arma 3 v2.24 MapHideSmallSigns: Boolean - (default false) true to hide map icons for trees, bushes, rocks.
- Arma 3 v2.24 MapHideLocations: Boolean - (default false) true to hide map icons for trees, bushes, rocks.
Providing a empty HashMap will reset all options to defaults.
Syntax
setMissionOptions options
Parameters:
options: HashMap - a HashMap containing all the options to be changed
Returns: Nothing
Examples
Example 1
setMissionOptions createHashMapFromArray [["IgnoreNoDamage", true], ["IgnoreFakeHeadHit", true], ["IgnoreUpsideDownDamage", true]];
Example 2
setMissionOptions createHashMap; // reset options to default
See also
getMissionOptions · getResolution · getAudioOptionVolumes · getSubtitleOptions