#Signals and transition problem

1 messages · Page 1 of 1 (latest)

errant falcon
#

Anyone ?

next idol
#

do you have a screenshot of the signal source?

errant falcon
#

I'm not on my pc rn, but it's just a State script with the basic state machine different states with the signal "transition"

next idol
#

From this screenshot alone it looks like your signal names aren't matching, that could be why it's not connecting because you are emitting from a different signal.

#

Unless you are using two different signals, I cannot tell just yet. But I'll see if I can figure this out for you

errant falcon
#

I use another StateMachine script which make the transitions between states

#

And it uses the method transition_to() and print the state in the terminal

#

All the states are in a dictionnary with a previous state and current state variable which update themselves depending on the states

next idol
#

I might not have enough time right now to figure it out, but I can try to help later. If you can provide extra screenshots or text of the other things you mentioned whenever you're available, that would help a lot 😁

errant falcon
#

Yes of course, tomorrow i will just show my code

#

👍

next idol
errant falcon
#

You have the StateMachine script named "NodeStateMachine" and the very short State script named "NodeState"

errant falcon
#

Anyone ?