I want to see if instead of writing out every single tile that a character has to walk (In the set move route), Is there a way to have characters just walk toward a certain event autonomously?
Is it possible to make a character approach a tile other than an actor?
RPG Maker VXAce SupportWhat it offers is to walk towards the player but not to an event basically because it never offered to pick that event as a target. The only way it would be to do it via event script call.
there is a way, by modifying the moveroute object to use a custom command.
"approach player" is basically "approach character named player", and events are also characters.
so, it's a simple redirection of command.
can you explain what you want?
"approach player" is basically "approach character named player", and events are also characters.
so, it's a simple redirection of command.
can you explain what you want?
Yeah of course! I'm basically wanting an enemy to chase the player for a bit, then after like 450 frames or so, get discouraged and walk away from the player. I don't want them to walk into too many walls or not know where to go so I thought about having a set event in the area I'd like them to go to.
If you don't want them to hit walls and the like, you'd need an A* or A star script or Pathfinder script instead.
Ahh okay, I think I may have one in the scripts, so I'll see what I can do.
But then regarding the "player name thing, does that mean that I could name the event "Player" and the event would follow or go to that event of I put the "move to player" command? Or did I misread that?
But then regarding the "player name thing, does that mean that I could name the event "Player" and the event would follow or go to that event of I put the "move to player" command? Or did I misread that?
Actually, what Move toward Player does is simply look for $game_player as a target. This is how events manage to find the player... if they don't hit walls or get blocked by rivers first.
Both the player and the events are Game_Characters for sure but they don't share every single feature.
Anyway, my solution would be creating custom event commands via scripting.
Is it only for the player to find an event? Or for an event to find the player? Or would an event look for another event?
Both the player and the events are Game_Characters for sure but they don't share every single feature.
Anyway, my solution would be creating custom event commands via scripting.
Is it only for the player to find an event? Or for an event to find the player? Or would an event look for another event?
I'm wanting an event to find another event, just to give the illusion of the event (enemy) walking off-screen and away from the player.
Just out of curiosity, does the second event move at all or not?
the second event won't move. I just want to use it as a kind of "marker" or "placeholder (?)" for the enemy event to go to.
Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-make-a-character-approach-a-tile-other-than-an-actor.167074/