x3kj 1247 Posted August 29, 2014 Hi, could somebody give me pointers on how to use a fired eventhandler directly in the config of a vehicle/ is it possible? Or maybe an addon that does similar stuff so i can check that? I already have an init event handler on my vehicle class EventHandlers:EventHandlers{ init="(_this select 0) execVM ""kjx\ChimAPC_Init.sqf"""; }; I have a turret with one weapon with 2 barrels, which fire alternately. However, the muzzleflash of all barrels is shown everytime one barrel fires. So i'd like to make an animation that moves or hides the muzzleflash - which i want to trigger with the fired eventhandler. Also, could somebody tell the main difference between the standard event handler in vanilla and the extended event handler of CBA? I've seen some addons use the extended ones, but is it really necessary for a simple use like this ? Share this post Link to post Share on other sites
lappihuan 178 Posted August 29, 2014 (edited) class EventHandlers:EventHandlers{ fired="(_this select 0) execVM ""kjx\ChimAPC_Init.sqf"""; }; or together with the init: class EventHandlers:EventHandlers{ fired="(_this select 0) execVM ""kjx\ChimAPC_Init.sqf"""; init="(_this select 0) execVM ""kjx\ChimAPC_Init.sqf"""; }; should do the trick. And for CBA Extended EH's i never found any benefits from them, anything you need to do is possible with the vanilla ones. Edited August 29, 2014 by Lappihuan 1 Share this post Link to post Share on other sites