new to rpgmaker, so i hope the title made sense. i have a battle where if you win, a character joins your party. but if you lose, the character shouldnt and you should be able to try again. but whether or not its won or lost the character joins regardless.
how to differentiate an event happening depending on battle result
RPG Maker MZ SupportYou say if you lose the character should not join, but then you say the character joins whether you win or lose.
If it doesn't matter whether you win or lose, just add the character to the party after the Battle command.
If it does matter, in the Battle command, check the box that says Continue if Lose. That will give you an If Win ... and an If Lose ... block (and maybe also an If Escape block). Just add the commands there that you want to happen based on whether the player wins or loses.
If you want the character to join immediately if you win, but if you lose you have to battle again and THEN the character will join, do the above, and add another Battle command in the If Lose block.
If it doesn't matter whether you win or lose, just add the character to the party after the Battle command.
If it does matter, in the Battle command, check the box that says Continue if Lose. That will give you an If Win ... and an If Lose ... block (and maybe also an If Escape block). Just add the commands there that you want to happen based on whether the player wins or loses.
If you want the character to join immediately if you win, but if you lose you have to battle again and THEN the character will join, do the above, and add another Battle command in the If Lose block.
Original thread: https://forums.rpgmakerweb.com/threads/how-to-differentiate-an-event-happening-depending-on-battle-result.156562/