TheFe91

Villager
Member
Joined
Oct 5, 2017
Messages
8
Reaction score
0
First Language
Italian
Primarily Uses
RMMV
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:

upload_2017-10-12_18-1-27.png
upload_2017-10-12_18-1-49.png

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!
 

TheFe91

Villager
Member
Joined
Oct 5, 2017
Messages
8
Reaction score
0
First Language
Italian
Primarily Uses
RMMV
OK, I know this doesn't make sense, but I tried to put the screen 3 script in a "else" bracket in screen 2...AND IT WORKS!!!
Really don't know why, but if someone could explain I'll be very happy!

Thank you
 

Latest Threads

Latest Profile Posts

unintentionally made a track that sounds straight out of Yume Nikki
Revisiting one of my older projects in a long time to work some more on the mechanics. I've been working on- and off-again for about a year now on recreating the Force and Mystic systems from Wild ARMs. And I think I've finally made some good breakthroughs on that!

Still, it is not perfect and I may post my thoughts at a later time to see if there are any other suggestions or alternatives I've missed.
actor name string, why you gotta be case sensitive like that?
Doing RPG Maker News for 26th October 2021

My entire world, full of monsters and treasures, will likely be done by the end of the year. After that it's all NPCs and side quests... then done. I'm never making an open world game again xD

Forum statistics

Threads
116,102
Messages
1,095,794
Members
151,492
Latest member
jacksmth153
Top