enableStressDamage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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=")
m (Text replacement - " \| ?\[\[([a-zA-Z0-9]+)\]\] *\|x1=" to " |r1= $1 |x1=")
Line 16: Line 16:
|p1= state: [[Boolean]] - [[true]] to enable stress damage, [[false]] to disable it
|p1= state: [[Boolean]] - [[true]] to enable stress damage, [[false]] to disable it


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



Revision as of 10:27, 11 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:
Nothing

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