To make an event trigger when the player is to far away from the event place the following in the note field:

 <far: true>

The condition can be javascript, see example below:

<far:!$gameSelfSwitches.value([$gameMap._mapId, this._eventId, 'A'])&&!$gameSelfSwitches.value([$gameMap._mapId, this._eventId, 'B'])>

That code says if not self switch 'A' and not self switch 'B' start the event if the player is too far away

To change from the default distance use the following comment(s) in the event page:

<away_distanceX: x>
<away_distanceY: x>

Example:

<away_distanceX: 3.8>
<away_distanceY: 3.8>

StatusReleased
PlatformsHTML5
AuthorCT_Bolt
Made withRPG Maker

Download

Download NowName your own price

Click download now to get access to the following files:

[RMMZ] CT_Bolt Player To Far Away Demo (v1.10).zip 8.1 MB

Leave a comment

Log in with itch.io to leave a comment.