enableStressDamage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 11: Line 11:


| Toggles stress damage in [[Description.ext#forceRotorLibSimulation | Advanced Flight Model]], which otherwise could be manually toggles in game setting: <tt>Options</tt> - <tt>Game</tt> - <tt>Helicopter Flight Model</tt> - <tt>Advanced</tt> - <tt>Stress Damage</tt>.<br><br>
| Toggles stress damage in [[Description.ext#forceRotorLibSimulation | Advanced Flight Model]], which otherwise could be manually toggles in game setting: <tt>Options</tt> - <tt>Game</tt> - <tt>Helicopter Flight Model</tt> - <tt>Advanced</tt> - <tt>Stress Damage</tt>.<br><br>
{{Important | This command will not have any effect if Basic (Standard) Flight Model is enabled. To check what flight model is enabled use [[difficultyEnabledRTD]] command }}|= Description
{{Important | This command will not have any effect if Basic (Standard) Flight Model is enabled. To check what flight model is enabled use [[difficultyEnabledRTD]] command }}|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


|'''enableStressDamage''' state|= Syntax
|'''enableStressDamage''' state|SYNTAX=


|p1= state: [[Boolean]] - [[true]] to enable stress damage, [[false]] to disable it |= Parameter 1
|p1= state: [[Boolean]] - [[true]] to enable stress damage, [[false]] to disable it |PARAMETER1=


| [[Nothing]]|= Return value
| [[Nothing]]|RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code>[[if]] ([[difficultyEnabledRTD]]) [[then]] { [[enableStressDamage]] [[true]] };</code> |= Example1
|x1 = <code>[[if]] ([[difficultyEnabledRTD]]) [[then]] { [[enableStressDamage]] [[true]] };</code> |EXAMPLE1=






|[[Description.ext#forceRotorLibSimulation | forceRotorLibSimulation]], [[difficultyEnabledRTD]], [[isStressDamageEnabled]]|= See also
|[[Description.ext#forceRotorLibSimulation | forceRotorLibSimulation]], [[difficultyEnabledRTD]], [[isStressDamageEnabled]]|SEEALSO=


}}
}}

Revision as of 15:38, 7 April 2019

Hover & click on the images for description

Description

Description:
Toggles stress damage in Advanced Flight Model, which otherwise could be manually toggles in game setting: Options - Game - Helicopter Flight Model - Advanced - Stress Damage.

This command will not have any effect if Basic (Standard) Flight Model is enabled. To check what flight model is enabled use difficultyEnabledRTD command
Groups:
Uncategorised

Syntax

Syntax:
enableStressDamage state
Parameters:
state: Boolean - true to enable stress damage, false to disable it
Return Value:
Nothing

Examples

Example 1:
if (difficultyEnabledRTD) then { enableStressDamage true };

Additional Information

See also:
forceRotorLibSimulationdifficultyEnabledRTDisStressDamageEnabled

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