enableStressDamage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<br><br> {{Feature" to "{{Feature")
m (Text replacement - " \|(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) +=" to " |$1=")
Line 17: Line 17:


| [[Nothing]]
| [[Nothing]]
|x1 = <code>[[if]] ([[difficultyEnabledRTD]]) [[then]] { [[enableStressDamage]] [[true]] };</code>
|x1= <code>[[if]] ([[difficultyEnabledRTD]]) [[then]] { [[enableStressDamage]] [[true]] };</code>


|[[Description.ext#forceRotorLibSimulation | forceRotorLibSimulation]], [[difficultyEnabledRTD]], [[isStressDamageEnabled]]
|[[Description.ext#forceRotorLibSimulation | forceRotorLibSimulation]], [[difficultyEnabledRTD]], [[isStressDamageEnabled]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 23:29, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
RTD

Syntax

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

Examples

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

Additional Information

See also:
See also needed

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