Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
[aps]gnat

XEH Extended Event Handlers - Not Triggering

Recommended Posts

Posted in the CBA thread which was probably not an ideal place to seek an answer.

XEH doesnt seem to be triggering (INIT EH) for my addon

- I've checked the launch short cut.

- No errors on entering ArmAII

- checked the script works manually, it does.

- Put the XEH at the top of the config definitions, no change

- Seems to be totally dead because even the FIRED and KILLED arent doing anything.

- Even looked at other peoples planes with XEH ..... can't see any bloody difference.

Ideas?

Config

class CfgPatches
{
class Coaler
{
	units[] = {RKTCoalerS,RKTCoalerI,RKTCoalerD,RKTCoalerR};
	requiredVersion = 1.01;
	requiredAddons[]={"Extended_Eventhandlers"};
};
};
...
...
..

class CfgVehicles
{
class Plane;
class RKTCoalerS : Plane
{
....
....
	class EventHandlers
	{};
};

class Extended_Init_EventHandlers {
class RKTCoalerS {
	RKTCoalerS_init = "[_this select 0] exec ""\rktcoaler\scr\common_init.sqs"";_scr = _this execVM ""\ca\Data\ParticleEffects\SCRIPTS\init.sqf"";";
};
class RKTCoalerI {
	RKTCoalerI_init = "[_this select 0] exec ""\rktcoaler\scr\common_init.sqs"";_scr = _this execVM ""\ca\Data\ParticleEffects\SCRIPTS\init.sqf"";";
};
class RKTCoalerD {
	RKTCoalerD_init = "[_this select 0] exec ""\rktcoaler\scr\common_init.sqs"";_scr = _this execVM ""\ca\Data\ParticleEffects\SCRIPTS\init.sqf"";";
};
class RKTCoalerR {
	RKTCoalerR_init = "[_this select 0] exec ""\rktcoaler\scr\common_init.sqs"";_scr = _this execVM ""\ca\Data\ParticleEffects\SCRIPTS\init.sqf"";";
};
};
....
.... other XEH ...

---------- Post added at 12:54 AM ---------- Previous post was at 12:15 AM ----------

EDIT

Meh! ..... synchronised answer in the CBA thread and me finding it.

i.e. Doesnt work when you have an empty class EventHandlers in the CFGVehicles.

Remove class EventHandlers altogether.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×