Hey guys, is there any way to manually update or call an event listener function? [import]uid: 9484 topic_id: 18279 reply_id: 318279[/import]
You can manually call an event listener function (it is just a lua function after all), but in order for it to work properly you would need to pass it lua tables with the appropriate information (or have a special case in code when tables are nil).
You should be able to update the event listener function at any time by simply removing the existing listener, attaching a new function, and re-adding the listener. Perhaps it’s even possible just to set the function without removing/re-adding the listener, but I’ve never tried that. [import]uid: 36054 topic_id: 18279 reply_id: 70035[/import]