RPG Maker Forums


Orange - Move Character To 1.0
Hudell





Introduction
This plugin adds a plugin command and a script call that you can use to move the player or an NPC to a specific position on the map, regardless of route

How to Use
First of all, activate the plugin on your plugin manager.
When you want to move an NPC, Create a new Move Route and add the following script call to it:
 


this.setDestination(x, y);


Make sure to replace x and y by the x and y position you want to move the character to.
You can add several destinations on the same move route and the character will go to all of them in order. Example:
 


this.setDestination(10, 10);
this.setDestination(10, 15);
this.setDestination(15, 15);
this.setDestination(15, 10);


Make sure to add those lines as 4 separate script calls, because if you don't, the character will go straight to the last position.
If you check the "Repeat" option of the move route, this event should now walk in a square route. If you stay on it's way, it will automatically walk around you.


Also check this other plugin that should make this one faster.

Plugin
Get it from here

License
Free for any game.
 

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,037
Messages
1,018,464
Members
137,821
Latest member
Capterson
Top