Calling BIS_fnc_ambientAnimCombat adds a logic detected by nearEntities.
This logic should be erased.
Calling BIS_fnc_ambientAnimCombat adds a logic detected by nearEntities.
This logic should be erased.
Place one AI unit + player in editor.
Preview;
esc for debug console;
write this loop test and exec it:
0 = [] spawn { while {true} do {_list = [];{_list pushback (typeof _x)} foreach ((position player) nearEntities 100); hintSilent format ["%1", _list]}};
You should obtain 2 types of units (player + AI).
Then place cursor on AI (cursortarget this AI);
esc for debug console;
write and exec: [cursortarget,"STAND","ASIS",{true},behaviour player] call BIS_fnc_ambientAnimCombat;
Now, the loop test shows the 2 types of units + "logic".
Is it possible to "clear" this "logic"? There are so much "entities" in game!