Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Help with a health bar hud script

Author
Message
Burger
12
Years of Service
User Offline
Joined: 22nd Jun 2012
Location: New Zealand
Posted: 8th Jul 2012 13:54 Edited at: 8th Jul 2012 14:08
I've got a health bar script from another forum http://forum.thegamecreators.com/?m=forum_view&t=194311&b=23 and have run into some troubles with it. One thing I cant get to work is for the health bar to reset to full once the player dies, and another is that picking up health packs dont seem to make any changes to the hud. The health is effected throuh zones and but not enemies. I've tried tweaking the script about but cant seem to get it to work.



Please excuse the messy numbering and values for the healthless/healthgreater's conditions. Any help is greatly appreciated

"I'm inspired by my own wise quotes, thank you." - Burger, 6/7/12
maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 9th Jul 2012 10:34
1) you can exchange this with the original and edit into setuplevel.fpi in your languagebank-games-folder.

2) you can setup an always-active,nonstatic entity anywhere on the map as mainscript. dont use triggerzones, it wont react permanently when you move away from the zone.

http://forum.thegamecreators.com/?m=forum_view&t=166815&b=24

this was my reference to get control on the playerhuds. thx rolfy.

Burger
12
Years of Service
User Offline
Joined: 22nd Jun 2012
Location: New Zealand
Posted: 10th Jul 2012 13:52
Thanks Maho, you've been really helpful for all my posts.

"I'm inspired by my own wise quotes, thank you." - Burger, 6/7/12

Login to post a reply

Server time is: 2024-11-23 21:45:25
Your offset time is: 2024-11-23 21:45:25