Docs / Custom Events
New in 1.2.0
Custom Events allow you to create reusable procedures in your game that can be used across any of your scripts.
Clicking in the background between scenes switches the sidebar back to the Project Editor which will list any Custom Events in your project along with a button to Create Custom Event.
Once you've given your Custom Event a name you can start building a script in the same way you would for Actors, Triggers and Scenes.
Parameters
Whenever you add an event that reads a Variable it will get added to the list of input parameters for the Custom Event, where you are able to give that input a memorable name. Events that affect Actors will, by default, apply to the player but if you use the actor selector you will be able to set the event to read the Actor value from an input parameter also.
For example the following custom event makes Actor A
rotate in a circle.
This custom event can then be used within Actor, Trigger and Scene scripts where it will appear as follows.
If you ever want to edit the Custom Event you can return to it using the list on the Project Editor or by selecting Edit Custom Event from the event dropdown menu.