イベントのすぐ隣または上にある必要はなく、特定の地域にいることでイベントをトリガーできるプラグイン – YEP_EventRegionTrigger.js
- タイトル
- Allows events to trigger by being in specific regionsinstead of needing to exactly next to or on top of them.
- 作者名
- Yanfly Engine Plugins様
- ヘルプ
- ============================================================================
Introduction
============================================================================
In RPG Maker MV, events can only trigger when you are either standing next
to them or on top of them. This plugin lets you bind their activation to
different events onto regions, making them trigger if the player is standing
on the designated region first before talking to them through the Action
Button, Player Touch, Event Touch, Autorun, and/or Parallels giving them
multitudes of ways to trigger events. All of these can be done by simply
adding Comment Tags into an event's page.
This is different from Region Events, which causes a Common Event to autorun
once the player has stepped onto one of those regions. This plugin binds
actual map events to regions instead.
============================================================================
Comment Tags
============================================================================
By default, event pages have no Region Triggers. They have to be added
manually per event page using comment tags. You can use the following
comment tags to give each event page a region trigger.
---
Comment Tags:
<Region Trigger: x>
<Region Triggers: x, x, x>
- Replace 'x' with the ID's of the regions you wish to let the event
trigger if the player is standing within a tile with that region ID and
triggering the event page's activation trigger requirements.
---
Event region triggers behave differently depending on the event page's
trigger type. Here is how the event page will activate based on the trigger:
Action Button
- As long as the player is within the matching region ID, pressing
the OK button will activate the event.
Player Touch
- If the player moves within the matching region ID, the event will
automatically activate. The player can also press the OK button to trigger
the event.
Event Touch
- If the player moves within the matching region ID, the event will
automatically activate. The player can also press the OK button to trigger
the event.
Autorun
- If the player moves within the matching region ID, the event will
automatically activate. There is no escaping this autorun unless you have
a way of turning it off.
Parallel
- If the player moves within the matching region ID, the event will
automatically activate. The player is granted a few frames of movement
each time the parallel process loops.
============================================================================
Changelog
============================================================================
Version 1.02:
- Fixed a bug where parallels don't loop.
Version 1.01:
- Fixed a bug where Autorun and Parallel triggers won't run unless they had
a region associated with them.
Version 1.00:
- Finished Plugin!
============================================================================
End of Helpfile
============================================================================ - パラメータ
-
( なし ) - ライセンス表記
紹介ページ http://yanfly.moe/