kontiuka Posted July 28, 2013 Share Posted July 28, 2013 Hi. Just started learning lua. I've been trying hard to understand how to write my own event handler with lua but to no avail. I know it has something to do with writing your event handler function and then calling ... function world.addEventHandler(handler) world.eventHandlers[handler] = handler end in the EventHandlers.lua file but haven't gotten beyond that. Would someone kindly be able to show me a concrete, step-by-step example of say just printing "Hello World" whenever an event occurs in a mission? Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts