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 / Quick Health Question

Author
Message
naeseth
17
Years of Service
User Offline
Joined: 24th Oct 2007
Location:
Posted: 5th Nov 2007 07:12
In multiplayer is there anyway to make the players not pick up health if there health is at 100% already??
Storm 6000
20
Years of Service
User Offline
Joined: 10th Oct 2004
Location:
Posted: 5th Nov 2007 13:51
plrhealthlessthan

?

Thanks
Adam
naeseth
17
Years of Service
User Offline
Joined: 24th Oct 2007
Location:
Posted: 5th Nov 2007 19:53
Quote: "plrhealthlessthan"


can you be a little more specific???
vorconan
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Wales
Posted: 5th Nov 2007 20:59
Open the pickuphealth.fpi script, just after State=0 type plrhealthlessthan=100

Eg.

:State=0,plrhealthlessthan=100,(the rest of the script)

Hope that helped



naeseth
17
Years of Service
User Offline
Joined: 24th Oct 2007
Location:
Posted: 5th Nov 2007 23:43 Edited at: 5th Nov 2007 23:45
@vorconan - Thanks a lot!

One more question im sure you can answer... If I change the pickuphealth script from the scriptbank, will it automatically apply to the games I build from now on or will the built game get the default script?
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 6th Nov 2007 07:20
Any entity using that file will be effected if you save it under that name.


The one and only,
~PlystirE~

Storm 6000
20
Years of Service
User Offline
Joined: 10th Oct 2004
Location:
Posted: 6th Nov 2007 11:51
Yes it will affect anything that uses that script you should always make new scripts never change existing ones, and also its useful for health pickups because you have have health items healing you by lots of different amounts instead of just 25 and 50 i believe are the ones that come with FSPC or maybe 10 and 25? anyway you can fine tune the script so that it give the amount of health you want by changing the plraddhealth's number

Thanks
Adam

Login to post a reply

Server time is: 2024-11-24 02:03:36
Your offset time is: 2024-11-24 02:03:36