VX/VXA Issue with character events.

So something i'm kinda stumped on is im trying to make it so when the player spawns in front of a house in the game, they are spawned in as the gender they chose, so boy or girl, but the issue is i can get it to work for one event and make sure they spawn in as the boy but i cant figure out how to do a seperate duped event just for the girl as well, i run into the issue, where it either makes them invisible or just spawns them in as the wrong characters, not sure how to go about it.
A simple switch that states on=boy off=girl, then placing the differing event code on the same event but two different pages where the second page has the switch=on requirement.
If you're referring to a party member then same switch but start with neither in party then use a conditional branch of join boy if on else join girl if off.
A simple switch that states on=boy off=girl, then placing the differing event code on the same event but two different pages where the second page has the switch=on requirement.
If you're referring to a party member then same switch but start with neither in party then use a conditional branch of join boy if on else join girl if off.
That does make sense, though troubling issue is i can't quite wrap my head around it (more of a visual learner) would you possibly know of a good video tutorial or possibly be able to share some screens of a small example? would work wonders, if not of course i do understand.
Or you could post a screenshot of your event so we can tell you what you need to improve there.

Having both your screenshot and any snapshot posted by a fellow forumer will let you make visual comparisons with ease.
Something like this for a Boy/Girl Event. (You never stated if it was the actor or an event spawning in, so I've had to assume...)
Clip1.JPG

Clip2.JPG


Edit: Guess I'll show both
Clip3.JPG

Clip4.JPG
Something like this for a Boy/Girl Event. (You never stated if it was the actor or an event spawning in, so I've had to assume...)
View attachment 350208
View attachment 350209

Edit: Guess I'll show both
View attachment 350211
View attachment 350212
Hmmm ok, that makes a lot more sense, thank you for this!
Or you could post a screenshot of your event so we can tell you what you need to improve there.

Having both your screenshot and any snapshot posted by a fellow forumer will let you make visual comparisons with ease.
I did seem to forget that, so my bad, basically the system is a cutscene with a car, i delete the player during the cutscene so its just the car moving and then the next bit is i need it to spawn the player back in, but i wanna make sure its the correct gender the player chose and that's kinda what im struggling with.
You can do it in 2 different ways: either use a Change Switch command, ON for boy, OFF for girl or vice versa, and then Change Variable command. In the latter you set its value to 1 for boy and 2 for girl.

Then using a Conditional Branch command you pick the option Switch ID or Variable ID and its value. You just need one of those options. The CB command also includes a checkbox where you can add the Else branch. There you'd include the data for the other gender.
You can do it in 2 different ways: either use a Change Switch command, ON for boy, OFF for girl or vice versa, and then Change Variable command. In the latter you set its value to 1 for boy and 2 for girl.

Then using a Conditional Branch command you pick the option Switch ID or Variable ID and its value. You just need one of those options. The CB command also includes a checkbox where you can add the Else branch. There you'd include the data for the other gender.
That does seem to work, though i run into an issue now, where the boy spawns in fine and by himself as it should but whenever i spawn in as the girl, it always spawns the boy in as her party member, how would i prevent that for her.
Right... Guess I should ask for more information before jumping to conclusions.
When you choose Boy/Girl you've set the switch so later when respawning the actor simply use a conditional branch as stated by kyonides.
Clip1.JPG


where the boy spawns in fine and by himself as it should but whenever i spawn in as the girl, it always spawns the boy in as her party member
A screenshot would help, can't tell if you're adding both by accident or if you've forgotten to remove the actor properly for both situations of if Boy or Girl

Some side notes,
- Although not necessary since it seems to be working, but cutscenes should use Autorun over ParallelProcess, the later is mainly for events you want moving while your main event is running. Eg. decorative animation events or patrolling/wondering events. You would however then require a stop to the Autorun event, so a SelfSwitchA to a new page or a EraseEvent.
- The player can still move around without any actors in the party so the 'Vanish' isn't necessary unless thats some sort of custom graphic.

Edit: Wait, couldn't all this could be solved by simply using SetMoveRoute: TransparentON for the player, rather than removing and readding the actor?
Right... Guess I should ask for more information before jumping to conclusions.
When you choose Boy/Girl you've set the switch so later when respawning the actor simply use a conditional branch as stated by kyonides.
View attachment 350295


A screenshot would help, can't tell if you're adding both by accident or if you've forgotten to remove the actor properly for both situations of if Boy or Girl

Some side notes,
- Although not necessary since it seems to be working, but cutscenes should use Autorun over ParallelProcess, the later is mainly for events you want moving while your main event is running. Eg. decorative animation events or patrolling/wondering events. You would however then require a stop to the Autorun event, so a SelfSwitchA to a new page or a EraseEvent.
- The player can still move around without any actors in the party so the 'Vanish' isn't necessary unless thats some sort of custom graphic.

Edit: Wait, couldn't all this could be solved by simply using SetMoveRoute: TransparentON for the player, rather than removing and readding the actor?
Right sorry, i keep forgetting to send screenshots, that's my bad, this is currently what i have set up, for context [Vanish] is the invisible actor i use in the car scene to remove the boy\girl actor, and in the next scene, i want to remove Vanish and recall in Boy\Girl, i can seem to get it to work fine with Boy but with girl i keep having the issues expressed above. (Ill admit, i'm probably doing something wrong but its been a long while since i've used RPG Maker, so i'm really trying to pull myself back into it and i've never done something before with two playable main characters for the player to choose to this is rather alien to me lol)
Why are you setting the two control switches here? wasn't that meant to be done way earlier when you choose boy or girl? Other than that it looks good?(if not half finished?) so you'd have to look in other events to find the error. Maybe the one where the actor is removed?
Also again with the parallel processes, you might be running several at once by accident and note that parallel processes loop if not evented to not to.
Why are you setting the two control switches here? wasn't that meant to be done way earlier when you choose boy or girl? Other than that it looks good?(if not half finished?) so you'd have to look in other events to find the error. Maybe the one where the actor is removed?
Also again with the parallel processes, you might be running several at once by accident and note that parallel processes loop if not evented to not to.
Oh, sorry i missed the bit about parallel processes.

And to be honest, i'm not 100% sure, i was just kind of following what i read and applied it here in this event but maybe i should instead apply to the character creation (I've jumbled this up a lot)

Original thread: https://forums.rpgmakerweb.com/threads/issue-with-character-events.180302/