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 / Hurthud wont reset when you respawn

Author
Message
Tomahawk
11
Years of Service
User Offline
Joined: 16th Dec 2012
Location: Where do you think I live?
Posted: 28th May 2013 03:22
As the title says the hurthud wont reset when i respawn, it just stays there. I am using this script as my hurthud. I posted there but no help so far, any help will be greatly appreciated and if someone can get it working will give credit to you in my game!

(more detailed description)
I am in a firefight with an enemy, i then loss all my life and die. When i respwan the hurt hud from when i lost life is still there!

Again any help would be appreciated.

ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 28th May 2013 04:47 Edited at: 28th May 2013 04:49
Hi Tomahawk
Yes I remember that script. Take a look at the very last line in the "HudAlpha.fpi" script.
Try changing the last state=10 to state=0

See if that resets the script back to state=0 when you die/respawn? I'm just guessing here
Tomahawk
11
Years of Service
User Offline
Joined: 16th Dec 2012
Location: Where do you think I live?
Posted: 28th May 2013 15:39
Thanks, will give it a shot!

Tomahawk
11
Years of Service
User Offline
Joined: 16th Dec 2012
Location: Where do you think I live?
Posted: 29th May 2013 16:38
Still didn't work, any more help? My game is deeply relying on this hud!

Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 29th May 2013 18:06
Give unbound credit if your game
Quote: "is deeply relying on this hud!"


And your problem is now solved:


Corno_1


Tomahawk
11
Years of Service
User Offline
Joined: 16th Dec 2012
Location: Where do you think I live?
Posted: 29th May 2013 22:17
Quote: "Give unbound credit if your game"

Already done when i was first using the script.

Quote: "And your problem is now solved"

Thanks Corno_1 you saved my day! I will test it soon.

ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 29th May 2013 22:53
@Corno_1
Good one Corno. I like the way you solve scripts. I knew it had something to do with resetting hud, but just couldn't put my finger on it. I think you solved one of my others problems also.
Thanks ncmako
Tomahawk
11
Years of Service
User Offline
Joined: 16th Dec 2012
Location: Where do you think I live?
Posted: 29th May 2013 23:15
Just tested and it worked like a charm. If you take a look at my WIP thread you will see your name in the credits, thanks again.

Burger
12
Years of Service
User Offline
Joined: 22nd Jun 2012
Location: New Zealand
Posted: 30th May 2013 11:55
Hey Corno, thanks, as this helps me too!

- An Instinctive Fear IndieDB page, download demo today!
Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 30th May 2013 13:12
Quote: "I like the way you solve scripts."

Wow I have a way to solve scripts? Maybe I should write a book about it. The New bestseller: "Corno_1´s way of scripting"
Quote: "I think you solved one of my others problems also."

Good to hear.
Quote: "Just tested and it worked like a charm. If you take a look at my WIP thread you will see your name in the credits, thanks again."

I looked at it and say thanks.
Quote: "Hey Corno, thanks, as this helps me too!"

Wow I help three persons at once. New record


Login to post a reply

Server time is: 2024-11-23 14:35:29
Your offset time is: 2024-11-23 14:35:29