Hi there,
so I'm trying to build a statistics tracking function for my mission, everytime I've tested it so far is with spawning the AI through Zeus and everything works fine. However, I just discovered today that if I shoot an AI spawned in with alive the event handler no longer works.
I just want to know if it's even possible to add event handler for the AI's being spawned in by Alive itself or if it doesn't work at all. Because every eventhandler added to the server works fine by itself besides when it interacts with alive.
here are the current event handler I've got running on my mission
player addEventHandler ["Fired", {_this call alive_fnc_handleFired;}]; // Works Fine ["CAManBase", "Hit", {_this call alive_fnc_handleHit;}] call CBA_fnc_addClassEventHandler; ["CAManBase", "Killed", {_this call alive_fnc_handleKill;}] call CBA_fnc_addClassEventHandler;
None of the CBA event handlers works with the alive mod, only if I spawn with Zeus or add the AI's from the editor. I've tried adding them with the original event handlers from arma "addEventHandler" but at that point it didn't work at all when I tested it, all though I only tested it with Zeus
Any ideas?