enableStressDamage: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) 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 }}|= | {{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|= | |'''enableStressDamage''' state|SYNTAX= | ||
|p1= state: [[Boolean]] - [[true]] to enable stress damage, [[false]] to disable it |= | |p1= state: [[Boolean]] - [[true]] to enable stress damage, [[false]] to disable it |PARAMETER1= | ||
| [[Nothing]]|= | | [[Nothing]]|RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 = <code>[[if]] ([[difficultyEnabledRTD]]) [[then]] { [[enableStressDamage]] [[true]] };</code> |= | |x1 = <code>[[if]] ([[difficultyEnabledRTD]]) [[then]] { [[enableStressDamage]] [[true]] };</code> |EXAMPLE1= | ||
|[[Description.ext#forceRotorLibSimulation | forceRotorLibSimulation]], [[difficultyEnabledRTD]], [[isStressDamageEnabled]]|= | |[[Description.ext#forceRotorLibSimulation | forceRotorLibSimulation]], [[difficultyEnabledRTD]], [[isStressDamageEnabled]]|SEEALSO= | ||
}} | }} |
Revision as of 14:38, 7 April 2019
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.
- 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
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