じ☆ve冰风 发表于 2026-7-25 21:19:27

SEK_TransferLines

SEK_TransferLines - v 1.0
        By SEK
        Introduction
        Create a TransferLine to teleport your actor to a relative location on another map or in the same map!

Features
        -Create vertical or horizontal transfer lines to move between places 
        just by creating a simple event (works with regions)


        -the plugin erases the event after the plugin call!

Plugin Commands:

        • sektl mapid, x, y, arriving-direction, fade-effect, needed-direction, step-forward
        - mapid = map where your actor will be transferred (in position x,y)
        - arriving-direction = 8-up, 6-right, 2-down, 4-left (watch you numpad to remember this)
        if direction is different from 2,4,6,8, the direction of the player
        as he enters the t.l. will be kept.

        - needed-direction = player must be facing this way to be transferred, 
        else it won't activate(if missing, every direction will be ok to be 
        transferred)

        - fade-effect = 0-Black, 1-White, 2-None (If missing, it will be set to 0)

        - step-forward: Number of steps your player will make after being
        transferred.

       
        Creates a transfer line and deletes the calling event: all you need to do is create a line of squares with the same region and put an event with this plugin command on its top left corner.
        if values (except mapid, x and y) are missing, they will be set by default:
        arriving-direction will be kept, fade-effect will be 0, there will be no
        needed-direction and no steps forward.

        • sektloff turns off the plugin (transfer lines aren't deleted but they are inactive)

        • sektlon turns on the plugin


Screenshots/Video
        skip to 1:44 to see how it works


How to use

Spoilermake a line with regions and put an event on its top-left corner


https://forums.rpgmakerweb.com/data/attachments/32/32920-0f0a06e0f3990747d592fcb49f174f32.jpg


                        the event should be set up like this: you can also make it run by switch and add some commands before the plugin call, just remember that


the plugin erases the event after the plugin call -> if it doesn't delete it, you wrote the plugin command in a wrong way and if on autorun, you'll notice it


                        because you won't be able to move!


                         https://forums.rpgmakerweb.com/data/attachments/32/32919-c9b48382f0117f71c0f80d6aeb7b141c.jpg






Plugin
Right Click Here to Save


Credit and Thanks
        - SEK

Author's Notes
        Even if I try my best, I might not be able to help with issues.
        This may have issues with other plugins using regions.
        You are free to use this plugin. If you do use it, I'd like to have my name and my plugin's name included in credits.


本贴来自国际rpgmaker官方论坛作者:SEK处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/sek_transferlines.71620/
页: [1]
查看完整版本: SEK_TransferLines