Function events

This extension allows the use of functions-like events, in other words, events that are launched only when they are called thanks to the action “Launch a function”.

Name of functions

Each function name must be unique.

Function call

Call a function using the action “Launch a function”. The first parameter is the function's name. When a function is launched, it executes its conditions, actions, and sub-events as standard events. When it has finished, GDevelop will continue to execute actions and events that are put after the action which has launched the function.

The second parameter of the action allows you to specify if objects currently concerned must be passed to the function or not.
The other parameters are text that is passed to the function, and which can be retrieved in a text expression.