武装突袭3

武装突袭3

Death and Hit reactions
Longtime 2023 年 10 月 12 日 下午 2:39
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
最后由 Longtime 编辑于; 2023 年 10 月 16 日 上午 6:23