Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: benjie417234 on October 06, 2007, 02:10:53 AM

Title: just a common problem...
Post by: benjie417234 on October 06, 2007, 02:10:53 AM
you saw the description....help..i think i posted it in the wrong subject...
Title:
Post by: Osmose on October 06, 2007, 02:26:15 AM
All we can see of the description is:

Quote
If Hero's HP is 0...i can;t find that the only thing i see in conditional brANch is i


Please post your full problem in the MESSAGE box - descriptions are just extra info for the post listing rather than the actual body of your post.
Title:
Post by: benjie417234 on October 06, 2007, 04:25:37 AM
oh..sorry i did'nt see that.....okay here's the problem.
if hero's hp is 0...but i can't see it in the conditional branch.
In the conditional branch i only see if hero's hp is above xxxx....
help?
Title:
Post by: Prpl_Mage on October 06, 2007, 06:22:50 AM
Maybe you could post a screenshot of the problem, it's usually easier to understnad then.
I sure don't get the problem now at least.
Title:
Post by: DragonBlaze on October 07, 2007, 03:26:53 AM
Ok, what you do is make a variable, lets name it [hero hp]. Set the variable equal to the heros hp.

Then in the conditional branch, test the variable if its 0. Be sure to set the variable to the heros hp before every conditional branch it is used in.