← Return to project
Log in with itch.io to leave a comment.
Thank you for your efforts. I want to make a common event run when I defeat every enemy. When there are 3 enemies, the event runs even if I defeat only 1. Can you fix it?
a sample is inside the helpfile, on victory common event, you do:
$gameTroop.aliveMembers() < 1
on defeated common event if used:
$gameParty.aliveMembers() < 1
this is a conditional branch that runs the codeonce all enemies or actors are dead.if you add an else Handler, you can do anotherthing or debug with x members left/alive.if you need further assistance, please reply backon what you seek and I do my best to help you out.
Ok. I was able to run the event I wanted using the conditional branch. Thanks!
← Return to project
Comments
Log in with itch.io to leave a comment.
Thank you for your efforts. I want to make a common event run when I defeat every enemy. When there are 3 enemies, the event runs even if I defeat only 1. Can you fix it?
a sample is inside the helpfile, on victory common event, you do:
$gameTroop.aliveMembers() < 1
on defeated common event if used:
$gameParty.aliveMembers() < 1
this is a conditional branch that runs the code
once all enemies or actors are dead.
if you add an else Handler, you can do another
thing or debug with x members left/alive.
if you need further assistance, please reply back
on what you seek and I do my best to help you out.
Ok. I was able to run the event I wanted using the conditional branch. Thanks!