External Events

External Events, like normal Events, define the logic of the game. They are edited in the exact same way as the typical event editor. Unlike a normal event set, however, External Events can be re-used in other places of the game through Link events.

External Events are excellent for keeping event sheets clean, and can also help eliminate repeating the same events in multiple places.

External Events are often used in situations where either Behaviors or Functions make more sense. Behaviors and Functions are generally better for smaller units of code that need to change based on some parameters (arguments). External Events are better for large blocks of events that define the behavior of Objects.

Creation

You can create an external events sheet in the Project Manager, under External Events and clicking the plus button.

Scene Selection

In order to finish the creation of an external events sheet, you must select a scene for it. This is the scene upon which all object selections are based; in other words, any events which depend on objects will allow you to select only the objects from the selected scene.

The selected scene cannot be changed later, so choose wisely!

Usage

The External Event editor is identical to the standard Events editor.

You can use an external events sheet by linking to it with the Link event type.

Use Cases

External Events are good to use when you'd like to isolate one large block of events in your events sheet, either to keep things clean or to prevent repeating the same events in multiple places. Some examples include:

  • Isolating the events associated with a particular object to reduce clutter
  • Moving the entire game logic to an events sheet to be used over multiple scenes of global objects