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/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
Recommended Posts