TSR_TransferTrigger


TSR_TransferTrigger_Title.png

Author
TSR
download
TSR_TransferTrigger
​
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 ☺️ 🤘

​
This is really cool!
I can't get it to work with the instructions in the video, it just stops the transfer altogether.

Edit: I moved it higher in my plugin list, and now it just ignores the plug, transferring normally.
@pennylessz can you show the plugin datalist?
and what exactly did you do in the event setup?
New update!

  • Add a <trigger square: x, y> comment tag to extend the touch trigger of events in a square shape.​
Code:
 *      Square trigger
 *      ==============
 *      Map events (with touch trigger) having the following comment tags will
 *      activate within the square defined by the X and Y arguments, using the
 *      event itself as the origin. Negatives values can be used.
 *          
 *      <SQUARE TRIGGER: X, Y>
 *
 *      *Example 1: a map event with the tag <TRIGGER SQUARE: 2, 2> will form a
 *                  triggering square of 3 tiles horizontal by 3 tiles vertical,
 *                  with the event on the top left corner.
 *
 *      *Example 2: a map event with the tag <TRIGGER SQUARE: -2, -2> will form a
 *                  triggering square of 3 tiles horizontal by 3 tiles vertical,
 *                  with the event on the bottom right corner.
 *
 *

Regards,
TSR 🤘
I can't seem to get the comments to work at all. Tried all sorts of events with single pages, multiple pages, Event Trigger or Player Trigger and nothing seems to be doing it. Is there another way this might work?

Using MV
Hello!
I can't seem to get the comments to work at all. Tried all sorts of events with single pages, multiple pages, Event Trigger or Player Trigger and nothing seems to be doing it. Is there another way this might work?
You just need to put the comment on a event page, bellow player, triggered on player's touch and placed on the boarder of the map.

Did you test it in a blank project, or in a project with several other plugins?

Regards.

Original thread: https://forums.rpgmakerweb.com/threads/tsr_transfertrigger.144428/