Microb
Member
Hello.
Recently I have found a illumination ammo script I wanted to add to my epoch server planes but I have stuck with eventhandler
In regular ArmA 2 Mission I would just add code to init of the vehicle in mission.sqm as it's given in script installation instructions
3. To use simply add this line to initialization field of unit in editor:
this addEventHandler ["fired", {_this execVM "illum.sqf"}];
script uses Mk82 bomb behaviour so I have added Mk82 bomb droppers to planes but I have no idea how to attach these event handlers because now planes are dropping actual bombs.
Is it possible to attach event handler to vehicles spawned trough database/traders? Or there is any alternatives?
Recently I have found a illumination ammo script I wanted to add to my epoch server planes but I have stuck with eventhandler
In regular ArmA 2 Mission I would just add code to init of the vehicle in mission.sqm as it's given in script installation instructions
3. To use simply add this line to initialization field of unit in editor:
this addEventHandler ["fired", {_this execVM "illum.sqf"}];
script uses Mk82 bomb behaviour so I have added Mk82 bomb droppers to planes but I have no idea how to attach these event handlers because now planes are dropping actual bombs.
Is it possible to attach event handler to vehicles spawned trough database/traders? Or there is any alternatives?