Jump to content
Sign in to follow this  
jaynic

Adding a global init handler

Recommended Posts

Hi all,

 

Is it possible to add a global init handler to any object where an init handler is possible?

 

Ideally something like:

class BaseObject{
    class EventHandlers:EventHandlers{
        init="(_this) execVM ""myModpack\fnc\globalInit.sqf""";
    }

}

I'd like to add my own init and not override any current ones.

 

If I have to harcode object types, then I guess it would be all the main gameplay ones:

vehicles, men, players

 

Is this even possible?

 

 

Share this post


Link to post
Share on other sites

I think, you can get it by use CBAfunctions, they are useful in EH.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×