Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please check the Other Information section below as I'm posting this more as an open discussion rather than something I think it should be merged.
New feature
Trigger scripts run when the player enters or leaves the trigger, once the player is moving inside the trigger no scripts are executed. In 2.0 (when there was only one
On Trigger
script) this wasn't the case, as theOn Trigger
script was running on each step of the player inside the trigger. This was used to add features like random encounters.Add a new
On Move
script to the Trigger that executes when the player moves around the trigger.No
I'm not 100% sure this is needed anymore. The "random encounter" use cases can be achieved with an
On Update
script in an invisible actor pinned to the screen. Not sure if there's other use cases that this script type can fulfill. Open to discussion, really.