Boss Self-Destruct Timer

Status
Not open for further replies.
Joined
Jun 5, 2013
Messages
462
Reaction score
84
First Language
English
Primarily Uses
N/A
Alright so I want to make a boss in rpg maker vx ace that starts a self destruct timer when it has less than 50% HP. Everything works so far but when the timer hits zero the battle just automatically ends. Here's my event pages.


 

Harosata

Dramatic Lightning's BFF
Veteran
Joined
Aug 20, 2015
Messages
246
Reaction score
70
First Language
English
Primarily Uses
RMVXA
Well, two ways I can think of. First way, have the timer end at 1 second. Second, try changing the timer's function. Right now,
Code:
class Game_Timer
  def on_expire
    #BattleManager.abort
  end
end
The default on_expire (when timer reaches 0) will abort the battle, so removing that line should keep that part from triggering.
 
Joined
Jun 5, 2013
Messages
462
Reaction score
84
First Language
English
Primarily Uses
N/A
That worked, thanks! This thread can be closed now.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
12,615
Reaction score
12,955
First Language
English
Primarily Uses
RMVXA

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Suitemate: "Do you have detergent"
Me: "Ya, the spray kind"
Me: *realizes he said detergent, not deodorant*
Me: "Guess I'll die!"
If there's one thing I hate about myself, it's that I procrastinate. Ever since I started looking stuff up on how to properly balance and create armour, weapons and skills; I've let myself down in progress.
So I was at the dentist yesterday and she said,"I'm gonna propose to Dr. Anderson...(Then she paused as she thought what to say). And I said,"I think he is a little old for you." She laughed good naturedly. Then she jabbed sharp things in my mouth for the next 3 hours.
Update on my experiment with uploading my Android games to the Amazon app store: made about $45 in 2 months, but 0 sales for the past 3 weeks. Not sure its worth the effort.
Kid : "MOOOMM! My poop is bloody red!" Me, an intellectual : "There's worm parasite inside your body. You gonna die soon."

Forum statistics

Threads
94,606
Messages
922,271
Members
124,483
Latest member
RemiRemi
Top