Edit TransitionsThe magic of a GameMachine logic is the possibility to connect nodes.
The connections between nodes are transitions from a state to another.
To create a new transition:
To create Global Transitions there is no need to connect states, simply:
An Orange combobox will appear on the top of the node. Choose the event that must generate the transition using the dropdown menu of the combobox.
As you can note, in the example images, LOCKED state isn't connected to any other state, however if lock event occurs (triggering a global transition), the FSM goes to LOCKED state, any state it is previously in. To delete a transition of a state click left mouse button on the state node inside the Graph Viewport and select the yellow name of the transition you want to delete (ACTION in the image below):
To delete a global transition of a state click left mouse button on the state node inside the Graph Viewport and select the red name of the global transition you want to delete (START in the image below):
Global transitions are named in RED while normal transitions are named in YELLOW |