Arma 3 Scripting

Command in RTD

isStressDamageEnabled

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns true if stress damage is enabled in the game settings. A getter for enableStressDamage.

Note

afm: For this command to have any effect, the Advanced Flight Model (AFM) has to be enabled. AFM status can be checked with difficultyEnabledRTD.

Syntax

isStressDamageEnabled

Returns: Boolean Returns true if enabled, otherwise false

Examples

Example 1

_settingEnabled = isStressDamageEnabled;

See also

enableStressDamage