Hey! So I've been trying to wrap my head around cutscenes and I'm coming up with walls.
My game has a main character (as most do) and a wide variety of cast that can be recruited. Also like most games, the player can shift the order of the party around to suit their preference, and my game also uses a script that alters map movement speed based on who the party leader is, so it's important to keep this feature. However, whenever a cutscene is initiated, I want the main character to be the sprite that's standing in the 'player' position, regardless of who is first in the party lineup. The remaining party members would somehow take up the 3 other event slots close to him. The trouble is, I can't figure out a simple enough method to accomplish this.
I think the solution I've seen around is writing each party member's Game Data to a variable, removing them all from the party except the main character (forcing him to be the one that is shown), and then adding them back in at the end of the cutscene. The problem is 'Add Party Member' only allows you to select a party member. It doesn't allow you to choose based on a variable so I'm not sure how this works. I thought maybe I'd have to make a conditional branch but I soon realized that would be hell...
Imagine it:
If Variable Party Member #1 = 1: Add Actor ID 1 to party
If Variable Party Member #1 = 2: Add Actor ID 2 to party
and so on...
Rinse and repeat for Party Member #2, #3, and #4....
Considering I'm going to end up with probably 50+ characters eventually, it would be INSANE to have EACH cutscene do this. And even if that was accomplished, then there's the manner of how do I get the appropriate sprite to appear for the 3 other party members in the cutscenes? Somehow each of the three remaining party members would have to be intelligently divided between the three events, which again I'm clueless how to achieve.
Games like Suikoden make this look easy. I imagine for them they might be doing their version of 'Show Followers' but mine definitely need to be events due to the way I have them act in cutscenes, moving around and such.
I hope I explained this well enough. My brain is fried so I apologize if it's not completely clear.
My game has a main character (as most do) and a wide variety of cast that can be recruited. Also like most games, the player can shift the order of the party around to suit their preference, and my game also uses a script that alters map movement speed based on who the party leader is, so it's important to keep this feature. However, whenever a cutscene is initiated, I want the main character to be the sprite that's standing in the 'player' position, regardless of who is first in the party lineup. The remaining party members would somehow take up the 3 other event slots close to him. The trouble is, I can't figure out a simple enough method to accomplish this.
I think the solution I've seen around is writing each party member's Game Data to a variable, removing them all from the party except the main character (forcing him to be the one that is shown), and then adding them back in at the end of the cutscene. The problem is 'Add Party Member' only allows you to select a party member. It doesn't allow you to choose based on a variable so I'm not sure how this works. I thought maybe I'd have to make a conditional branch but I soon realized that would be hell...
Imagine it:
If Variable Party Member #1 = 1: Add Actor ID 1 to party
If Variable Party Member #1 = 2: Add Actor ID 2 to party
and so on...
Rinse and repeat for Party Member #2, #3, and #4....
Considering I'm going to end up with probably 50+ characters eventually, it would be INSANE to have EACH cutscene do this. And even if that was accomplished, then there's the manner of how do I get the appropriate sprite to appear for the 3 other party members in the cutscenes? Somehow each of the three remaining party members would have to be intelligently divided between the three events, which again I'm clueless how to achieve.
Games like Suikoden make this look easy. I imagine for them they might be doing their version of 'Show Followers' but mine definitely need to be events due to the way I have them act in cutscenes, moving around and such.
I hope I explained this well enough. My brain is fried so I apologize if it's not completely clear.