I'm having a bit of trouble trying to make a common event that can do the following...
When a cutscene ends, I use a variable to hide an event (which looks like a character) and turn on player-followers, of which this same character is a follower. This is so that during this cutscene, I can have the character act, emote, etc., but then I want them to follow the player when the cutscene is over.
When the cutscene ends, I want to do the following:
I use Yanfly's MoveRouteCore, which has a command called JumpToPoint(x,y). However, I can only seem to get this to work from within a movement command (it doesn't want to work with a normal script call), and that's a problem because a normal Move command doesn't let you specify the chosen event via variable.
Can someone suggest how I can command an event, via script, to do this? It needs to look like (pseudocode...)
gameMap.event(variable(37)).JumpToPoint(variable(23), variable(24));
It's the dynamic-ness of everything that's causing the issue. I need this to work like this so in my cutscenes, I can supply the event number of the actor and it'll always work.
When a cutscene ends, I use a variable to hide an event (which looks like a character) and turn on player-followers, of which this same character is a follower. This is so that during this cutscene, I can have the character act, emote, etc., but then I want them to follow the player when the cutscene is over.
When the cutscene ends, I want to do the following:
- Save the event number of the character in a variable so this can be used in different maps (OK!)
- Get the x/y location of the follower sprite and save it in 2 variables (OK!)
- Command an event, whose number is contained in that variable, to "Jump" to that location (PROBLEM!)
- Hide the event and Show Followers (OK!)
I use Yanfly's MoveRouteCore, which has a command called JumpToPoint(x,y). However, I can only seem to get this to work from within a movement command (it doesn't want to work with a normal script call), and that's a problem because a normal Move command doesn't let you specify the chosen event via variable.
Can someone suggest how I can command an event, via script, to do this? It needs to look like (pseudocode...)
gameMap.event(variable(37)).JumpToPoint(variable(23), variable(24));
It's the dynamic-ness of everything that's causing the issue. I need this to work like this so in my cutscenes, I can supply the event number of the actor and it'll always work.