S2ENGINE HD 2023
User guide
×
Menu
Index

Edit Transitions

 
The magic of a GameMachine logic is the possibility to connect nodes.
The connections between nodes are transitions from a state to another.
 

CREATE TRANSITION
To create a new transition:
 
 
 
CREATE GLOBAL TRANSITIONS
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.

 

DELETE TRANSITION
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):
 
DELETE GLOBAL TRANSITIONS
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