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 / Minus player health

Author
Message
ByNow
13
Years of Service
User Offline
Joined: 6th Mar 2011
Location:
Posted: 23rd Mar 2011 20:39
Hello,

I use plraddhealth=-1 command and my question is How to do that amputated only one point life, and not removed until the end ?
Gencheff
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 23rd Mar 2011 20:51
:state=0:plraddhealth=-1,state=1

Like this.


PC Specs:Windows 7 Ultimate 64-bit,Intel Core i7 960 @ 3.20GHz,NVIDIA GeForce GTX 480,12GB RAM,2x Western Digital 997GB HDD
ByNow
13
Years of Service
User Offline
Joined: 6th Mar 2011
Location:
Posted: 23rd Mar 2011 21:24
dont't work in my script

Line from script :
Gencheff
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 23rd Mar 2011 21:31
The error is on your side fella.

Posting one line from your script doesn't help me...
Are you sure the condition varequal=8 is correct?
Are you sure the script can get to state 6?
Which version of FPSC are you using?


PC Specs:Windows 7 Ultimate 64-bit,Intel Core i7 960 @ 3.20GHz,NVIDIA GeForce GTX 480,12GB RAM,2x Western Digital 997GB HDD
ByNow
13
Years of Service
User Offline
Joined: 6th Mar 2011
Location:
Posted: 23rd Mar 2011 21:45
Sorry for the inconvenience
All condition in my script was correct, and your idea is good
Script is working Thx Gencheff and I'm sorry
Gencheff
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 23rd Mar 2011 21:48
No worries.Glad you have it working.


PC Specs:Windows 7 Ultimate 64-bit,Intel Core i7 960 @ 3.20GHz,NVIDIA GeForce GTX 480,12GB RAM,2x Western Digital 997GB HDD

Login to post a reply

Server time is: 2024-11-24 10:53:44
Your offset time is: 2024-11-24 10:53:44