chromium Posted November 1, 2017 Posted November 1, 2017 (edited) A very generic question for the lua gurus. Do you think it's possibile and smart to add some custom event to the event handler coding some callbacks, instead of looping each group in a finite state machine? or the callbacks code is itself a finite state machine? do you know how event handler is coded inside the SSE? I have some DB to be updated each time something change, but those changes aren't trackable by current handler (like ownership of each coalition of every town in the map). I built a fsm that update the db table constantly but I think that an event handler should be much more smarter... if the callback of the event handler isn't itself a fsm that update the db XD (complicated probably) thanks Edited November 1, 2017 by chromium Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Github for latest version: https://github.com/Chromium18/DSMC
Recommended Posts