Chaucer MoveTo

chaucer

Veteran
Veteran
Joined
Aug 6, 2014
Messages
293
Reaction score
479
First Language
English
Primarily Uses
RMMV
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 :

MoveTo.gif



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:


note: 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:

note : 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 :
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.
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Would be nice to pick color code that is not exclusively for message event
The Ace attorney series are so great games... But at the same time such a travesty.
Made a video showcasing a plugin (by Lanza) that adds 5 more weather effects to our MV games. :LZYsmile: Namely:
Ash-dust,
bloodrain,
Cherry Blossom Petals,
Hail,
and bubbles.

Forum statistics

Threads
103,239
Messages
998,301
Members
134,729
Latest member
Takufy
Top