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 script that adjusts players speed according to health

Author
Message
Shakleford
FPSC Reloaded TGC Backer
13
Years of Service
User Offline
Joined: 15th Jun 2010
Location: on the flip side
Posted: 20th Dec 2013 09:10
Trying to get this script to work.
What it supposed to do is, when players health is below certain point, the players speed is reduced. And when player gets health back up to certain, it returns to normal.

The first part, having the players speed reduced after health is low works fine, but when I pick up health, and it increases, the players speed stays the same as it was after his health dropped.




The tragedy of old age is not that one is old, but that one is young
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 20th Dec 2013 15:51
Hi Shakleford
Try this...

Just a simple typo at "state=1" with the colon. Should work now.
best

You know you're a bad gamer when you're able to run out of infinite lives.
Shakleford
FPSC Reloaded TGC Backer
13
Years of Service
User Offline
Joined: 15th Jun 2010
Location: on the flip side
Posted: 20th Dec 2013 16:03
Thank you so much ncmako, that did the trick
I'll have to get FPI edit pad again to avoid these simple mistakes.
Thanks again bud

The tragedy of old age is not that one is old, but that one is young

Login to post a reply

Server time is: 2024-04-19 11:54:31
Your offset time is: 2024-04-19 11:54:31