Addons & Mods Depot > ArmA - Configs & Scripting

[SOLVED] Extended EH: PostInit

(1/2) > >>

Deadfast:
Hello all,
I have a question regarding the Extended EventHandlers PostInit function.


I'd like to pre-compile a few scripts so they can be easily called later on (from Extended_Fired_EventHandlers).


Sadly no matter what I try I can't get it to work (got the newest XEH 1.93 BTW).

I even tried to execute a script looping a hint from there but it never gets executed.


Thanks,
Deadfast

ViperMaul:
post some code so we can comment & correct.
or read the readme for the examples given.

Deadfast:
I did read the readme but it didn't help me.

Here's my last attempt:

--- Code: ---class CfgPatches
{
class DFS_precompile
{
units[] = {};
requiredVersion = 0.1;
requiredAddons[] = {"Extended_EventHandlers"};
};
};

class Extended_PostInit_EventHandlers
{
class DFS_precompile
{
DFS_init = "[] execVM '\DFS_test\DFS_test_precompile.sqf'";
};
};

--- End code ---

i0n0s:
class DFS_precompile <- Should this really be here?
At least the PreInit-Handler don't need it.

Deadfast:
Oh my god...

Turned out I had an old version of the XEH which was overriding the new one... ::)


Thanks for your time, guys!


BTW, turns out i0n0s was also right - that class was broken too ;)

Navigation

[0] Message Index

[#] Next page

Go to full version