Triggers and Events: Difference between revisions
No edit summary |
m Fix template inclusion |
||
Line 35: | Line 35: | ||
Once everything is selected, press OK and now the Event should be setup to be used in a Trigger. | Once everything is selected, press OK and now the Event should be setup to be used in a Trigger. | ||
{{NavScriptTerms}} | |||
}} | |||
Revision as of 09:09, 31 August 2023
This page contains information about Triggers and Events in Overworld free roaming segments.
Triggers Overview
A Trigger is a spriteless object that executes its assigned enter script when the player collides with it during free roaming segments.
You can add trigger in the enter scene by pressing the button with the exclamation mark on it and then pressing anywhere in your scene.
Once added, you can modify the triggers width(W) and height(H) by pressen on it.
This menu is also used to assign an Event to the Trigger.
Events Overview
Events are a way to assign enter scripts to Triggers
The tab to edit the Events can be found on the top left of the enter scene.
There, you can add or delete an event using the "+" and "-" Buttons. Once an Event is newly added, a menu pops up.
In this menu, you can now select an enter script that should be triggered, a Coroutine and two currently unknown factors which can be left blank. Usually, the Coroutine "GETOUT_NORMAL" is used for triggers.
Once everything is selected, press OK and now the Event should be setup to be used in a Trigger.