{"name":"enableStressDamage","operator":null,"title":"enableStressDamage","type":"command","url":"https://community.bistudio.com/wiki/enableStressDamage","revid":319014,"updated":"2022-05-13T09:22:11Z","groups":["RTD"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.34"}],"since":{"game":"arma3","name":"Arma 3","version":"1.34"},"arma3_since":"1.34","branch":null,"locality":{"argument":"local","effect":"local","server_exec":false},"exec":null,"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`.\n\n> [!NOTE]\n> **afm:** For this command to have any effect, the Advanced Flight Model (AFM) has to be enabled. AFM status can be checked with difficultyEnabledRTD.","syntaxes":[{"syntax":"enableStressDamage state","since":null,"effect":null,"exec":null,"params":[{"name":"state","type":"Boolean","optional":false,"default":null,"description":"true to enable stress damage, false to disable it","types":["Boolean"],"since":null,"text":"state: Boolean - true to enable stress damage, false to disable it"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"state","types":["Boolean"]}}],"examples":[{"text":"```sqf\nif (difficultyEnabledRTD) then { enableStressDamage true };\n```","code":["if (difficultyEnabledRTD) then { enableStressDamage true };"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Description.ext","difficultyEnabledRTD","isStressDamageEnabled"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: RTD","Introduced with Arma 3 version 1.34","Scripting Commands","Scripting Commands: Local Effect"]}