This plugin allow the player to move outside of the screen when standing on a transfer event on map edges. This way it looks like the character is actually leaving the map before transfering. The plugin also provide comment tags to extend the hit box of events in the 4 directions so a single transfer event can be use to cover the entire map edge. It also allow NPCs to move 1 tile outside of the screen.
*If you're using followers, you can add a 'gather followers' command before the transfer command. This way the followers will follow the player outside the screen before transfer.
Spoiler: Plugin instructions
Code: * ========================================================================================= * == About this Plugin ==================================================================== * ========================================================================================= * * EVENTS COMMENT TAGS: * * Map events (with touch trigger) having the following comment tags will * activate from a number of tiles specified by the distance argument, * in the relevant direction. * * <TRIGGER DOWN: distance> * <TRIGGER LEFT: distance> * <TRIGGER RIGHT: distance> * <TRIGGER UP: distance> * * *Example: a map event with the tag <TRIGGER UP: 3> will activate when * player walk on the event or up to 3 tiles above it. * * * * Map events (with touch trigger) having the following comment tag won't * activate when player walk on it. Instead, standing on the event will * allow the player to make a move outside the map (screen). The transfer * command of the event will then activate once the player has left the map. * * <OUTSIDE MAP TRIGGER> * * *For obvious reason, this system is designed for tranfer events on the * edge of a map. If you put this comment tag in an event not on map edge, * nothing will happen. * 复制代码
Code:
* ======================================================================================= * == Term of Usage ====================================================================== * ======================================================================================= * * Use in any independant RPG Maker MZ and MV projects, including commercials. * * Credit is required for using this Plugin. * For crediting, use 'TSR' along with one of * the following terms: * 'The Northern Frog' or 'A frog from the north' * * Do not change the Header or the Terms of usage. * * Do not change the main Object name. * * Editing of the script is allowed for your personal use for your project. * * DO NOT REDISTRIBUTE! * If you want to share it, share the link to my itch.io account: * https://the-northern-frog.itch.io/ * * * ======================================================================================= * == Version and compatibility ========================================================== * ======================================================================================= * 26/10/2021 completed plugin, v1.0.0 * 28/01/2022 instruction for public release, v1.0.1 * 复制代码
Regards
本贴来自国际rpgmaker官方论坛作者:TSR处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/tsr_transfertrigger.144428/