Moving Party Members Independantly

Okay, this is an issue I've faced a couple times when designing my game, and it gets harder every time.

I don't like the look of followers, so I normally keep them off; but there will be times I want to whip out another party member for a scene; I've been using background events to do this so far (Have an event off in a corner for a cutscene or something, just move it down to the player, change graphic to Party Member, and move out from under the player.) The problem comes when I don't know where the player will be precisely. 

The solution seems to be finding a way to tell an event to move under the player, but I can't figure out how to do that.
Set the event to activate on player touch. New page it, and have the other sprite move from under the player with Set Move Route and Through ON. Hope this helps! =D
Set the event to activate on player touch. New page it, and have the other sprite move from under the player with Set Move Route and Through ON. Hope this helps! =D
That's worked for me before, but this particular event is when you're talking to someone and the other party member comes out to do something. I won't know where the player is standing exactly.
I've moved this thread to VX Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.

Game Mechanics Design is for discussion of mechanics, not for "how do I do this in Ace?"

Don't use event commands if you don't know the exact location. Use their script equivalent, which will give you move flexibility with the parameters passed.

If you want an event to stand to the left of the player, use do this:

Code:
Set Move Route (the event you want to move):  Script: moveto($game_player.x - 1, $game_player.y)
This does not check if an event COULD stand next to the player (they could end up on a table or on a side wall), so you may want to restrict where they are able to stand, or make the event more complicated to see if that tile is passable (or if the player COULD move onto that tile from where they're currently standing)
Hmmm...I tried a few fixes, but I was able to get something set in stone where the event would move from out of the player. Maybe you can figure out something from these instructions?

I set the event (with the desired character to step out from your player) to have a Set Move Route with transparent ON as its first instruction. Then, when the player speaks to an NPC, I had the command, Set Event Location, move the event to the NPC's location. Afterwards, I had the NPC give a Set Move Route command that turned Through ON, Move Toward Player, Transparency OFF, Move Away from Player. In this, the targeted event moves directly into the NPC while invisible, moves out of it (towards the player), then becomes visible again, and finally steps out of the player before continuing text. But that doesn't doesn't help for NPCs that move around. For that, you may have to do something else or get more creative. Unfortunately, I don't have a fix.

EDIT: Shaz managed to post before I finished my post...in which case, I'd say to follow Shaz's advice. ^_^
Have two variables: Player X and Player Y.


Use control variables to set them to Game Data -> Character -> Player -> Map X / Map Y.


Use set event location (located slightly above move route) plus those two variables to set your helper event to the location of the player.


Hope that makes sense.

Original thread: https://forums.rpgmakerweb.com/threads/moving-party-members-independantly.23787/