enableStressDamage: Difference between revisions
Jump to navigation
Jump to search
m (categories) |
Killzone Kid (talk | contribs) (description see also example) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Toggles stress damage. | | 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> | |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
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.
- 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