S2ENGINE HD 2023
User guide
×
Menu
Index

Actions

Actions are basic component of a state, they define the behaviour of an object until it remains in that state.
When an object performs a state it just executes, in sequence, all the actions defined in the state.
 
Every type of action performs a specific operation and has its own parameters basing on its class.
However there are 2 parameters that are common to almost all actions:
 
 
One single action, basing on its class, performs a simple operation just as Getting the position of an object, Adding 2 float values, sending an event, etc...
There are 300+ action classes currently available in the system and much more will be implemented in future.
 
To know how to add a new action into a state see State tab topic.
 
Some kind of actions can accept as input a value stored, or store the output of their operation, into variables.