How to match movements to character?

Yitzi Litt

Made Nepenthe — An RPG that's one giant dad-joke
Veteran
Joined
Jul 31, 2017
Messages
103
Reaction score
30
First Language
english
Primarily Uses
RMMV
How do I design an event so that it will move towards my character whenever my character moves?
I can't use event spamming.
(the ninjas are the ones who need to follow you)Screen Shot 2017-10-16 at 9.21.07 PM.png
Thanks!
 

Yitzi Litt

Made Nepenthe — An RPG that's one giant dad-joke
Veteran
Joined
Jul 31, 2017
Messages
103
Reaction score
30
First Language
english
Primarily Uses
RMMV

Hyouryuu-Na

Sapphire Sodium
Veteran
Joined
Jun 15, 2017
Messages
947
Reaction score
2,213
First Language
Not English
Primarily Uses
RMMV
I don't know if there's an easier way, but I'd use a parallel event to check if the player moves. Make a conditional branch using script:
Input.dir4 == 0. In the 'else' branch, use a move route like 'move towards player' if you want the ninjas to just approach the player and if you want them to chase the player, then you can use plugin commands if you use a plugin for the chase. Yanfly has a plugin: http://yanfly.moe/2015/10/21/yep-20-event-chase-player/
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,050
Members
137,571
Latest member
grr
Top