Check enemy current HP?

Corello

Warper
Member
Joined
Sep 30, 2016
Messages
2
Reaction score
0
First Language
English
Primarily Uses
I'm creating a variable in this way...


variable = enemyhealth


Now when I create the conditional branch


if(variable < constant)


As I damage the enemy, the variable does not seem to update.


How do I get the variable to update.
 

Corello

Warper
Member
Joined
Sep 30, 2016
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Nevermind.


I had the condition still set to Don't Run


Apologies.
 

Rinobi

Veteran
Veteran
Joined
Mar 24, 2014
Messages
579
Reaction score
219
First Language
English
Primarily Uses
RMVXA
redacted...
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top