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 / Slow down health script

Author
Message
riccetts
8
Years of Service
User Offline
Joined: 14th Oct 2010
Location:
Posted: 10th Oct 2018 20:37
I'm using the plrhurtinzone script. I need it to slowly decrease the players health in the zone. At this point it is running way to fast and the player runs out of time to quick. Can anybody help?
ncmako
6
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 11th Oct 2018 22:25 Edited at: 11th Oct 2018 22:58
riccetts
Quote: " I need it to slowly decrease "

Try placing a etimer in the script, that should work ? This quick one should work ? (not tested )
Set for every half second, change the timer from 500 to 1000 for a full second lapse.

See if that works, Does it have to be a triggerzone?

Edit: op's, made a typo in the script. Fixed it
My games never have bugs. They just develop random features..
Lots and lots of random features...
riccetts
8
Years of Service
User Offline
Joined: 14th Oct 2010
Location:
Posted: 12th Oct 2018 00:31
@ncmako
I is use in a triggerzone in the game. I'm using it in a water level.

Login to post a reply

Server time is: 2018-12-19 02:32:20
Your offset time is: 2018-12-19 02:32:20