setMissionOptions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
|gr1= System
|gr1= System


|descr= Sets various mission options. Currently supported options are:
|descr= Sets various mission options. The options are automatically reset before and after the mission. Currently supported options are:
* ignoreNoDamage: [[Boolean]] - [[true]] to filter out no change in damahe 'HandleDamage' calls. Default: [[false]]]
* ignoreNoDamage: [[Boolean]] - [[true]] to filter out no change in damage [[Arma_3:_Event_Handlers#HandleDamage | HandleDamage]] calls. Default: [[false]]]


|s1= [[setMissionOptions]] options
|s1= [[setMissionOptions]] options
|p1= options: [[Array]] - array of options (see description). Empty array [] will reset all options to defaults
|p1= options: [[Array]] - array of options (see description). Empty array [] will reset all options to defaults.
|r1= [[Nothing]]
|r1= [[Nothing]]



Revision as of 17:10, 28 January 2024

Hover & click on the images for description

Description

Description:
Sets various mission options. The options are automatically reset before and after the mission. Currently supported options are:
Groups:
System

Syntax

Syntax:
setMissionOptions options
Parameters:
options: Array - array of options (see description). Empty array [] will reset all options to defaults.
Return Value:
Nothing

Examples

Example 1:
setMissionOptions [true];

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