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 script help

Author
Message
CamaroBee
16
Years of Service
User Offline
Joined: 5th Jan 2008
Location:
Posted: 25th Nov 2008 04:37
I'd like some help with this script made by minimovies inc. I can't get it to add 10 health after 1 second. It just keeps adding 1 health every 5 seconds

This is the original:


Here's what I changed it to:


Can someone please tell me what the problem is. Thanks.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 25th Nov 2008 09:31
Nothing's wrong with your change... are you sure you changed the script that your entity is using?


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 25th Nov 2008 18:41
...be sure that you've deleted the entity's .bin and .dbo files, before trying your new script.

Often scripting info is retained, especially in the .bin file.


CamaroBee
16
Years of Service
User Offline
Joined: 5th Jan 2008
Location:
Posted: 26th Nov 2008 00:01
Thanks guys it works.

Now I'm wondering how to modify the script to add the health when the player isn't being attacked for a time. Is there some kind of command PLRHEALTHSAME=true, timergreater=5000, state=1 or something like that?
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 26th Nov 2008 01:55 Edited at: 26th Nov 2008 01:58
...hmmn. Interesting concept to ponder. Sorry, but the command you use as an example doesn't yet exist.

I'm sure that you'll be able to come up with something that mimics what you're after.

Off the top of my head, baddies would have to be in the area, for the player to be taking damage. Wouldn't they? :::::HINT, HINT, HINT:::::

There's always Plystire's Mod, and applying variables, I suppose...


CamaroBee
16
Years of Service
User Offline
Joined: 5th Jan 2008
Location:
Posted: 26th Nov 2008 03:55
OK thanks

Login to post a reply

Server time is: 2024-11-24 16:58:48
Your offset time is: 2024-11-24 16:58:48