累计送礼: 0 个 累计收礼: 1 个 TA的每日心情 开心 2026-7-12 04:10
签到天数: 209 天
连续签到: 2 天
[LV.7]常住居民III
管理员
VIP
7
卡币
25563
OK点
16
推广点
0
同能卷
50
积分 32235
MoveTo : Version - 1.0.0
Creator : Chaucer
Introduction :
This Plugin allows the user to make characters move directly to a specific location, be it event, player, or follower
Screenshots :
Spoiler
[/url]
How to Use :
This plugin works via plugin commands and script call(for move routes),
there is two unique plugin commands to use, as well as script calls.
Plugin Commands:
Spoilernote: anything inside "<" & ">" is a dynamic parameter, they will have explanations below,
please do not add "<" & ">" in the code as it will not work.
<character> <id> moveto <x> <y>
<character> <id> moveto <character> <id>
<character>:
player : replacing character with player will give the value of the player character.
event : using event will give the value of an event.
follower : will give us the value of a follower.
<id>
number : the id of the event or the follower, do not use this parameter for the player.
<x>
number : the x location you want the character to move to on the map.
<y>
number : the y location you want the character to move to on the map.
examples:
player moveto event 1
the above in a plugin command will move the player to event 1.
event 5 moveto 5 10
the above in a plugin command will move the event with the id of 5 to the coordinates x 5 y 10.
follower 1 moveto event 6
the above in a plugin command will move the first follower(closest to the player) to the event with the id of 6.
Script calls:
Spoilernote : anything inside "[" & "]" is code, do not add "[" & "]" into your code, as it will not work,
all possible values will be defined below the script calls.
[character].moveToLocation( x, y );
[character].moveToCharacter( eventId );
[character]
$gamePlayer : using $gamePlayer.moveToLocation( 5, 6 ) will tell the player character to move to the map location, x 5, y 6.
$gameMap.event(id) : using $gameMap.event(1).moveToCharacter(0) will tell the character to move to the player(0
is the player, anything higher will refer to an event).
Note : I've excluded followers from this list as it could be a bit confusing to some, it IS included in the help file though if you are interested.
Instructions can be found inside the help file incase you forget.
Script :
[url=https://www.dropbox.com/s/1ukpmfu327gy631/CHAU_MoveTo.js?dl=1]Download
Credit and Thanks :
Chaucer.
Author's Notes :
This plugin does NOT work with collision detection, as it moves the player off of the grid.
This plugin works similar to jump, in that way, and will ignore all passability.
It might be possible in a future update to add collision detection, if it's really necessary.
Terms of Use :
-This plugin is free for commercial and non commercial use.
-Please give proper credit.
本贴来自国际rpgmaker官方论坛作者:chaucer处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/chaucer-moveto.70600/
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x