setMissionOptions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.18
|version1= 2.18
|branch= dev


|eff= local
|eff= local
Line 16: Line 14:
* IgnoreFakeHeadHit: [[Boolean]] - (default [[false]]) [[true]] to filter out FakeHeadHit context from {{Link|Arma 3: Event Handlers#HandleDamage|HandleDamage}} calls
* IgnoreFakeHeadHit: [[Boolean]] - (default [[false]]) [[true]] to filter out FakeHeadHit context from {{Link|Arma 3: Event Handlers#HandleDamage|HandleDamage}} calls
* IgnoreUpsideDownDamage: [[Boolean]] - (default [[false]]) [[true]] to ignore some minor upside down damage accumulation for a helicopter
* IgnoreUpsideDownDamage: [[Boolean]] - (default [[false]]) [[true]] to ignore some minor upside down damage accumulation for a helicopter
* {{GVI|arma3|2.20}} SnakesCanOpenDoors: [[Boolean]] - (default [[false]]) [[true]] to revert to legacy behaviour when snakes would open doors when entering houses


Providing a empty HashMap will reset all options to defaults.
Providing a empty HashMap will reset all options to defaults.

Latest revision as of 15:20, 28 December 2024

Hover & click on the images for description

Description

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 logo black.png2.20 SnakesCanOpenDoors: Boolean - (default false) true to revert to legacy behaviour when snakes would open doors when entering houses
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], ["IgnoreUpsideDownDamage", 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