Reply To: Having nextState for FSM

NodeCanvas Forums Support Having nextState for FSM Reply To: Having nextState for FSM

#12134
Driiade
Participant

Sure.

For the moment we have previousSate and currentState. But I want to created “ConditionnedAction” and the condition will be : “If the previousState is … launch action”, or “If the nextState is…launch action”. I will use this with SuperActionState in the onEnterActionList and onExitActionList. But i need the nextState the moment where the exitActionList is called.

Same thing, on the OnExit() of a state, it will be cool to have the next state, for doing different thing at this moment depending of the next state.