Hi everybody!
I have a scripted battle in my game with a Troop of 5 enemies, 4 "side enemies" and a Boss Enemy.
What I wanted to do was to make the Boss invulnerable if the user doesn't kill the other enemies BEFORE the boss itself.
So I create the boss with the "immortality" state on and then i do those scripts:
My RMMV is in Italian language: "Fine del Turno" is "End of Turn", FYI.
With this script at every turn I check if there is only 1 enemy alive: if it is then it must be the Boss, and so I remove the invulnerability; otherwise I recharge my boss HP and display a message of the boss itself: and here comes the problem: if I display a message, the game after the message has been displayed correctly freezes and I can't do anything. But the script is correct, because in console I see all my debug messages, so the script is working fine...
Any suggestion?
Thanks in advice!
I have a scripted battle in my game with a Troop of 5 enemies, 4 "side enemies" and a Boss Enemy.
What I wanted to do was to make the Boss invulnerable if the user doesn't kill the other enemies BEFORE the boss itself.
So I create the boss with the "immortality" state on and then i do those scripts:
My RMMV is in Italian language: "Fine del Turno" is "End of Turn", FYI.
With this script at every turn I check if there is only 1 enemy alive: if it is then it must be the Boss, and so I remove the invulnerability; otherwise I recharge my boss HP and display a message of the boss itself: and here comes the problem: if I display a message, the game after the message has been displayed correctly freezes and I can't do anything. But the script is correct, because in console I see all my debug messages, so the script is working fine...
Any suggestion?
Thanks in advice!