Aeal5566 wrote:Construct is a giant FSM. If this -> do this. Which is almost exactly what a FSM does.
... not exactly the same.
I didn't say it was exactly the same but essentially that is what construct is and I even said that. read posts before you reply.
What I think people are actually asking for here is a Boolean type value that is either on of off. Or triggers once and then never runs again.
Nope, not at all.
Again if you read the original post mipey gave examples of what he wanted.
OnStart, OnStop, Walking, Standing
OnStart, OnStop are triggers and he also gave the examples of StartofLayout start of game. The start and stop would trigger when there was a state change but essentially walking and standing are Boolean values that are either true or false, and when the value changed you would would call the trigger. and instead of just saying something like "nope not at all" actually contribute something to the topic, we know you can make a state machine in construct we were talking about what a plugin would look like for it.
Now mipey
can you answer some of my questions about how states are defined. Are they runtime edittime etc.