EventRegionBox ACE
by Kyonides
Introduction
The present script allows you to restrain the movements of any given event to a very specific region on the map.
If there are multiple areas on the map with the same Region ID, that Event will simply stay in its respective area.
If a given Event's Region ID has never been defined, that Event will move randomly and there is no way to know where it may go next.
Please take a look at the following screenshots because they have been setup in a very specific way.
Script Calls
Set a given Event's Region ID - 3 Options:
Ruby: - this_event.fixed_region_id = Number
- $game_map.events[EventID].fixed_region_id = Number
- set_events_region_id(RegionID, EventID10, etc.)
复制代码
Set a given Event's Custom Route and add a Script Call there:
Ruby:
Terms & Conditions
Free for use in any game!
Due credit is mandatory.
Do not repost it anywhere!
That's it!
本贴来自国际rpgmaker官方论坛作者:kyonides处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址: https://forums.rpgmakerweb.com/threads/eventregionbox-ace.160202/ |