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 / Health Regen

Author
Message
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 29th Mar 2009 10:26
Guys, any idea why this script doesnt work? Its really buggin me



PS its not the hud directory because i put them both in the script bank
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 29th Mar 2009 21:24
i always thought the dir is auto Files so if you just put the name of picture blood.png, it search in files


Red Eye - The Game: Work In Progress - W.I.P. Red Eye Productions
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 29th Mar 2009 21:41
Its the entire thing. You get no health regen, the sound doesnt play and the hud doesnt show...
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 30th Mar 2009 03:24
put your hud into the "gamecore/huds" folder (doesn't matter which one) and add "gamecore/huds" to the file path for it

You're using "hudunshow" as a condition. That's wrong, as it's an action.

And the biggest problem of all would be "state=2,state=1".... that's going to change the state to 1. This means the script will not go anywhere.

After that, the script will get stuck in state 3 anyway, because it's never told to leave the state.


The one and only,


Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 30th Mar 2009 08:36 Edited at: 30th Mar 2009 08:37
Quote: ":state=5:plraddhealth=5,setvar=remotetimer 0,vargreater=$PH 100:state=6,varequal=$PH 100:state=1"


and this cant be good, because there is a Condition/Action/Condition it must be:

Quote: ":state=5:plraddhealth=5,setvar=remotetimer 0,vargreater=$PH 100:state=6,varequal=$PH 100,state=1"


Flatlander's Script Editor Check If there are any errors in your script. I would recommend using that...


Red Eye - The Game: Work In Progress - W.I.P. Red Eye Productions
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 30th Mar 2009 09:32
Ok changed that but still no banana? Any other ideas?
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 30th Mar 2009 14:02
Quote: "changed that"


changed what?

Repost the new script with the changes so we can see what you did.


The one and only,


A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 10th Apr 2009 11:59
I changed what Red Eye told me to change, although it makes no difference

Login to post a reply

Server time is: 2024-11-24 23:56:06
Your offset time is: 2024-11-24 23:56:06