Tasks should be able to wait for certain events - like player stops moving, or on a certain animation frame. Presumably this would be integrated with the task manager so they can resume on signals as well as time being elapsed. Provide new C++ primitives to allow for sending and waiting on signals.
Also make lots of things throw signals: goals, anim events, etc.
Tasks should be able to wait for certain events - like player stops moving, or on a certain animation frame. Presumably this would be integrated with the task manager so they can resume on signals as well as time being elapsed. Provide new C++ primitives to allow for sending and waiting on signals.
Also make lots of things throw signals: goals, anim events, etc.
Look at how this will interact with lua events.