setMissionOptions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
mNo edit summary
Line 13: Line 13:


|s1= [[setMissionOptions]] [ignoreNoDamage, ignoreFakeHeadHit]
|s1= [[setMissionOptions]] [ignoreNoDamage, ignoreFakeHeadHit]
|p1=


|p1= ignoreNoDamage: [[Boolean]] - (default [[false]]) [[true]] to filter out no change in damage from {{Link|Arma 3: Event Handlers#HandleDamage|HandleDamage}} calls
|p1= ignoreNoDamage: [[Boolean]] - (default [[false]]) [[true]] to filter out no change in damage from {{Link|Arma 3: Event Handlers#HandleDamage|HandleDamage}} calls

Revision as of 16:20, 26 February 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. Providing an empty array will reset all options to defaults.
Groups:
System

Syntax

Syntax:
setMissionOptions [ignoreNoDamage, ignoreFakeHeadHit]
Parameters:
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
Return Value:
Nothing

Examples

Example 1:
setMissionOptions [true, true];
Example 2:
setMissionOptions []; // 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