Arma 3
Death and Hit reactions
Longtime 12 Oct, 2023 @ 2:39pm
mission compatibility with CfgRemoteExec
some missions such as Domination set cfgRemoteExec and may be a problem with DAH mod

you may have exec permissions problems if you see error messages such as this:

"Scripting command 'switchmove' is not allowed to be remotely executed"

you can add the commands to the mission:

class CfgRemoteExec { class Commands { class switchmove {}; class playactionnow {}; class setanimspeedcoef {}; }; };

also sometimes CBA will not initialize some required DAH values but you can initialize the vars in the mission preinit:

WBK_DAH_Deaths_EnableFor_PLAYERS = true; WBK_DAH_Deaths_EnableFor_AI = true; WBK_DAH_Death_Chance = 100; WBK_DAH_Hit_EnableFor_AI = true; WBK_DAH_Hit_EnableFor_PLAYERS = true; WBK_DAH_Hit_Chance = 100; WBK_DAH_Hit_Chance_PLR = 100; WBK_DAH_Flinch_EnableFor_AI = true; WBK_DAH_Flinch_EnableFor_PLAYERS = true;

just wanted to post if anyone else hits trouble
Last edited by Longtime; 16 Oct, 2023 @ 6:23am