Reply To: FSM Super Action State OnUpdateActions

NodeCanvas Forums Support FSM Super Action State OnUpdateActions Reply To: FSM Super Action State OnUpdateActions

#11232
feelx
Participant

Hi,

ok I thought the Super Action State is finished when a transition prerequisite becomes true and the FSM transitions to another state? The current behaviour doesn’t make much sense to me, sorry. Please make this behaviour optional so that the OnUpdate actions get called as long as the FSM is in that state.

Concerning the second question – basically I mean this: https://nodecanvas.paradoxnotion.com/section/fsm-callbacks/ … so if I wanted to do sth while the Super Action State is running, I could implement OnstateUpdate in one of my components on the gameObject. But then I would have to check manually for what state I am in, using a string. That’s kind of ugly in my opinion.

How would you go about doing sth specific to a certain super action state in your component while the state is running?