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 / Can someone check my script?

Author
Message
5hunter6
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location: Looking at the screen, same as you
Posted: 9th Dec 2006 04:27
I tried to make a damage script that was alternating damage so if you went in the fire it would not be rapidly damaging you. It would damage you maybe 3 seconds then 5 seconds then 2 seconds. I am a noob at scripting so if someone could maybe tell me what is wrong with this i will gladly release it to the community.




xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 9th Dec 2006 04:59
Quote: "timergreater=3"


That equals 3/1000 of a second. A second is 1000.

Quote: ":state=1,timergreater=3,plraddhealth=-1:state=2"


plraddhealth=-1 should be a command, not a condition.

Try this:
:state=1,timergreater=3000:plraddhealth=-1,state=2

Change each line acordingly.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

5hunter6
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location: Looking at the screen, same as you
Posted: 9th Dec 2006 06:04
Ok, thanks for your help i will try it.

Storm 6000
20
Years of Service
User Offline
Joined: 10th Oct 2004
Location:
Posted: 9th Dec 2006 14:36
hey loads of mistakes there my friend seek nikky dudes guide and learn all there is about the basics of scripting theres a sticky on this board bout it to, i havent checked the script only correct the ovbius mistakes you also might wana tweak the timings cus there bit weird 2 but its up to you what you want , heres the new copy try this if the previous corrections don't solve it for you



that looks fine to me sorry if iv still made a mistake

Thanks
Adam

Login to post a reply

Server time is: 2024-11-23 05:36:21
Your offset time is: 2024-11-23 05:36:21