Read our article on Custom Events for an explanation of these blocks.
Triggers the custom event for a specific behavior that is attached to the specified actor.
[ACTOR].say([TEXT], "_customEvent_" + [TEXT]);
Triggers the custom event for all behaviors that are attached to the specified actor.
[ACTOR].shout("_customEvent_" + [TEXT]);
Triggers the custom event for the specified behavior that is attached to the current scene.
sayToScene([TEXT], "_customEvent_" + [TEXT]);
Triggers the custom event for all behaviors that are attached to the current scene.
shoutToScene("_customEvent_" + [TEXT]);
Triggers a custom event in this behavior. This is a direct function call, so an event with the specified name must exist, otherwise it will cause a compilation error.
_customEvent_text();