I'm wanting to create an instance of an object that has an FSM. However, I'd like to configure the variables of that FSM at runtime before it begins to run.
Currently, I'm having the FSM wait at startup for a "continue" event. So I create the object, wait for the next frame, use Set FSM X to set the variables, wait for the next frame, and then send the continue event. This works, but it feels pretty clunky.
I'd love to have something akin to how Run FSM works, where it allows me to specify the variables before the FSM actually starts.
Does anyone know if there's a way to do this?
Thanks!