VariablesSometime it could be necessary to store the result of an action for using it as input to other actions.
This lets you avoiding to create too many states that make Finite State Machine graph growing too much and being too complex
Variables are designed for this purpose, they are a block of memory in which it is store a value basing on its type.
In GameMachine variables can be of following types:
The type of the variable and the input/output of the action must match. So the system will automatically let you to choose only among allowed variables for a given input/output If the parameter of an action has a V symbol at its right it means that the parameter can accept variables as input.
In this case you have to click on the V symbol to enable/disable variable input:
Variables can be:
|