enableStressDamage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (categories)
(description see also example)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Toggles stress damage. The same as toggling it in the game settings. |= Description
| Toggles stress damage in [[Description.ext#forceRotorLibSimulation | Advance 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
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 19: Line 20:
| [[Nothing]]|= Return value
| [[Nothing]]|= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code>'''enableStressDamage''' true;</code> |= Example1
|x1 = <code>[[if]] ([[difficultyEnabledRTD]]) [[then]] { [[enableStressDamage]] [[true]] };</code> |= Example1






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


}}
}}

Revision as of 10:32, 29 January 2019

Hover & click on the images for description

Description

Description:
Toggles stress damage in Advance 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