This is actually utilizing
Balrogic's "easy teleport" so all credit for the base product is due thereof. What this post is for compared to the other is two things:
- For the avoidance of doubt (and because the last word on the subject was in 2015) I am posting this separately, both to analyze the support request cliffhanger (an unresolved cancel crash) and to differentiate accordingly; and
- The inclusion of a very useful modification that I don't know if anyone has ever considered before, and one which is basically genre-standard by now so I was thinking like "what the hell" and put it in.
On the first point, what I mean by cancel crash is just that: it crashes the game if you cancel the request. On the other, I have given thought to add a twist of my own. I'm using the script as a hyperwarp function in my own project and noticed that it doesn't have built-in handling for vehicular transport (e.g. ship teleport to dock near your destination upon arrival). I am therefore 1: requesting analysis of the script call that crashes on cancel, and 2: posting with my additions in case they are of use to anyone.
First, add this "between materials and main" (or "yanfly and main" if you're using
ace message,
ace save, etc.)
Spoiler Code:
Once that's done, go into the database and create this common event:
Spoiler
Then create a second entry in common events that looks like this:
Spoiler
Finally you should assign the hyperwarp base accordingly:
Spoiler
Again, the cancel crash is a holdover from the base script and therefore I could use some extra analysis to figure out what the hell is going on that does it. Furthermore, since the base product is unrestricted then so is my extended interpretation (commercial or otherwise).
EDIT: In case it helps, the problematic call is at line 86 in the original script (or 96 in my extended version).
EDIT 2: This is also not the high priority it originally was regarding the bugfix as I have recently transitioned all project development to MV. However, I'm keeping the analysis request out there for anyone who can still use it.
本贴来自国际rpgmaker官方论坛作者:ZeroBreak处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/easy-teleport-script-redux.98817/