It is currently Mon May 21, 2012 2:44 am

All times are UTC - 6 hours



Welcome
Welcome to icugigasoft

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!





 Page 1 of 1 [ 4 posts ] 
Author Message
 Post subject: [resolved] HP condition doesn't change properly
PostPosted: Sun Jul 03, 2011 8:44 pm 
Junior Member
Junior Member

Joined: Fri Jun 17, 2011 7:19 pm
Posts: 19
Location: North Carolina
Okay, here's the deal... I'm trying to set up my battles to where it will show (by condition) whenever one of the heroes is near death.

It works, for the biggest part, outside of one problem. I'm not sure if there's a way to change this... Perhaps with variables, but no matter what I've tried so far, I'm getting nowhere.

The basic way that I've done this, and which works the closest, is as follows:

----------

Battle Events Page 1:
Trigger: Hero's HP is between 0% - 45%
Change Cond: Fading Inflict

Battle Events Page 2:
Trigger: Hero's HP is between 46% - 100%
Change Cond: Fading Remove

----------

This works, but with one exception... Whenever my hero gets weak, he changes animation accordingly and the condition activates. Then, I use a HP restoring medicine. The medicine heals my hero and properly clears the Fading condition, but he remains with the wrong animation until an enemy actually attacks him again; then he finally returns to the proper Idle animation. :x

Is there no way that I can make it so that he returns to the Idle animation immediately upon healing and going above the 45% HP trigger point?

I tried to create a "fake" condition with the Idle animation and named it Healthy, and tried to have it added once Fading is removed, but it made no difference.

I also thought that there might be a way to reflect my hero's HP using variables so it will change accordingly, but being attacked by an enemy doesn't make the variable decrease. (That is variable 6: Hero Current HP will say 50, but the enemy's attacks won't decreased this number, despite the fact the hero is taking damage in battle).


Last edited by KirbySupernova on Mon Jul 04, 2011 11:20 am, edited 1 time in total.

Offline
 Profile  
 
 Post subject: Re: [rm2k3] Low HP condition doesn't change properly
PostPosted: Mon Jul 04, 2011 8:39 am 
Senior Member
Senior Member
User avatar

Joined: Sun Nov 01, 2009 7:38 pm
Posts: 4321
Your problem may be rooted in the way that RPG Maker 2003 updates animations. You could try making the Healthy Battle page come first though.

About the Hero Current HP var, you have to constantly set that to the hero's current HP.


Offline
 Profile  
 
 Post subject: Re: [rm2k3] Low HP condition doesn't change properly
PostPosted: Mon Jul 04, 2011 11:19 am 
Junior Member
Junior Member

Joined: Fri Jun 17, 2011 7:19 pm
Posts: 19
Location: North Carolina
Hmm, well, I've tested various other options, but nothing seems to work.

The closest I could come was adding a "blank" battle animation to show right after the condition changes (followed by a 0.0 wait), but it still takes too long to change. It worked... but, not good enough.

I think I'll just remove the fading condition idea entirely. It would've been neat, but it's not giving me the results I was wanting.

Geez, I seem to be getting good at finding ways to test the limitations of this engine! :lol:


Offline
 Profile  
 
 Post subject: Re: [resolved] HP condition doesn't change properly
PostPosted: Tue Jul 05, 2011 12:03 pm 
Senior Member
Senior Member
User avatar

Joined: Sun Nov 01, 2009 7:38 pm
Posts: 4321
Yea, it can be annoying though.


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron

suspicion-preferred