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 / Questions for regen health

Author
Message
Low Quality Games Studios
5
Years of Service
User Offline
Joined: 23rd Jan 2014
Location: Low Quality Game Studios
Posted: 7th Mar 2014 19:33
For my game I am using these scripts: http://forum.thegamecreators.com/?m=forum_view&t=189569&b=23

I have 2 questions:
How do I add sound when the health is regenerating?


How do I use this health system in multiplayer?

Thanks
ncmako
7
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 8th Mar 2014 01:58 Edited at: 10th Mar 2014 01:42
Low Quality Games Studios
You would use the action sound=x (x=path to your sound file)
A good spot to run the sound would be right after "plraddhealth"
But that also depends on the sound your playing.
Also, looking at your script I take it always checks the players health (loops)? The second "state=1" line has "state3" at the end.
Wont do anything, needs to be "state=3".
Note, "state=1,plrhealthless=90" means health 89 or less.
"state=1,plrhealthless=100,plrhealthgreater=90" means player health 99 to 91. So if the player has a health of 90 nothing happens.
Quote: "How do I use this health system in multiplayer?"

One can't. FPSC multiplayer can not run scripts.

You know you're a bad gamer when you're able to run out of infinite lives.
Low Quality Games Studios
5
Years of Service
User Offline
Joined: 23rd Jan 2014
Location: Low Quality Game Studios
Posted: 9th Mar 2014 17:21
Ok. Thanks
Low Quality Games Studios
5
Years of Service
User Offline
Joined: 23rd Jan 2014
Location: Low Quality Game Studios
Posted: 6th May 2014 23:08
I need help. The script I used for regen (above) doesn't regenerate health if it is 90-99. Can you help fix it?

Also, I am using another script that is supposed to give a heartbeat sound if the health is below 26. It doesn't work.

ncmako
7
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 9th May 2014 21:02
Low Quality Games Studios
Did you fix the second state=1 line from "state3" to "state=3".
Also, as for your "heartbeat" sound, did you add the sound to your
trigger

You know you're a bad gamer when you're able to run out of infinite lives.

Login to post a reply

Server time is: 2019-09-19 10:18:03
Your offset time is: 2019-09-19 10:18:03