h - 169 Posted December 16, 2003 Tried the search but found nothing... What does the 'Init' Event Handler do or return and when it is activated? I've tried to make sense of it but with no luck... Â Share this post Link to post Share on other sites
tracy_t 0 Posted December 16, 2003 The init event handler performs one-time initialisation of a unit. Insert it into your addon like so: class Zombie1: Civilian1 {        class eventhandlers    {       init = [_this select 0] exec {\scottsaddon\initzombie.sqs};    }; }; In the above example, a script called initzombie.sqs is called to initialise the zombie unit. Note the use of "_this" instead of "this" - the underscore is important. Replace scottsaddon with the name of your pbo file (minus pbo extension of course) Share this post Link to post Share on other sites
tracy_t 0 Posted December 16, 2003 The initialisation begins just before the mission starts, BTW. Sorry I never said that before. Scott Share this post Link to post Share on other sites