Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Mixxth on February 18, 2011, 11:02:48 pm

Title: Z-HUD Script Question >.> RMXP
Post by: Mixxth on February 18, 2011, 11:02:48 pm
Is there anyway to make the Z-HUD from the script archive do this;

1: Start off green, then at half hp turn yellow, then at 25% turn red, provided I have 3 bars all Green/Yellow/Red <-- edited with adobe.
you guys know this would be badass, search your feelings :P

2: When it turns red to start beeping like in Zelda? OR to add a red boarder around the screen also a picture :P [Resolved]
Title: Re: Z-HUD Script Question >.> RMXP
Post by: Taiine on February 18, 2011, 11:34:30 pm
You can do 2 with a common event.

In the common event make a Condishenal Branch and tab 4, use Script and put
$game_party.actors[0].hp * 100 / $game_party.actors[0].maxhp <= 20

That's saying if HP is below 20, do this.
That do this is showing a image or playing a sound or whatever you want. In the else have it remove those things.


(http://images.devs-on.net/Image/RaZvYRaJNM2Z611-Region.png)

Title: Re: Z-HUD Script Question >.> RMXP
Post by: Mixxth on February 18, 2011, 11:37:16 pm
Quote from: Taiine on February 18, 2011, 11:34:30 pm
You can do 2 with a common event.

In the common event make a Condishenal Branch and tab 4, use Script and put
$game_party.actors[0].hp * 100 / $game_party.actors[0].maxhp <= 20

That's saying if HP is below 20, do this.
That do this is showing a image or playing a sound or whatever you want. In the else have it remove those things.


(http://images.devs-on.net/Image/RaZvYRaJNM2Z611-Region.png)




Sexy ty, couldn't i also use the same method to change the hud bars?