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 / First Script

Author
Message
Loller47
18
Years of Service
User Offline
Joined: 24th Sep 2005
Location:
Posted: 12th Oct 2005 04:31
I was wondering if this was a sutible script.



I am happy because I can make my own games.
Evil stick
19
Years of Service
User Offline
Joined: 27th Mar 2005
Location:
Posted: 12th Oct 2005 14:07 Edited at: 12th Oct 2005 14:09
Well, it's good, but nothing willl happen.

1. You need conditions, at least in the first line. [oops, well, you need them first, and seperated from the actions by ":"] (plrdistwithin=10 or something like that)

2. You need something to happen, so in line 1:
":state=0,lookatplr,plrdistwithin=1000:state=1"
and in line 2:
":state=1,movefore=25,plrdistwithin=750:state=2"

Because if you set the state to 3, and a line starts with state=3 it will jusp to there. So number them in order of there happeneing, and if you want to jump to the beginning, use state=0.

3. I don't know, looks good!

I ALWAYS have flame proof jacket...just in case...and a shotgun. If you want any, just ask!

We are all nice,except for that one who's name starts in a m and ends in erranvo.
Loller47
18
Years of Service
User Offline
Joined: 24th Sep 2005
Location:
Posted: 12th Oct 2005 15:34
Yeah well Ok Im starting to use the validator in FPI Maker 0.5 and Im still working on that script,thank tou for the help.

I am happy because I can make my own games.
Loller47
18
Years of Service
User Offline
Joined: 24th Sep 2005
Location:
Posted: 12th Oct 2005 23:45
Anyway here it is revised!


I am happy because I can make my own games.
Merranvo
18
Years of Service
User Offline
Joined: 24th May 2005
Location: That ^ is a Orange
Posted: 13th Oct 2005 07:07
Uhh, I am only going to tell you what you did wrong... and only a select few.

First, state is not your ownly condition, plrcanbeseen , healthless , plrdistwithin all all condtions, and should be BEFORE the second colon (.

Second,TheGameCreators\Files\Scriptbank\people\coward won't call the fpi for 2 reasons... it should be \Scriptbank\people\coward.fpi

third, you are suppose to only reload the weapon ifweapon=0, not if healthless=100, he would always reload the way you have it.

fourth, avoid duplicate code ":waypointstate=2:animate=2,waypointnext"

fifth, and final. Separate things by time. If it is all in the same line, it all happens at once. You should also have conditions to separate futher.

Look at other peoples scripts and read BullShox's tutorial.

"ye oft de adopte early shalt move mountains, and be gods among men"

He who knows everything knows nothing at all.
Loller47
18
Years of Service
User Offline
Joined: 24th Sep 2005
Location:
Posted: 14th Oct 2005 00:33
Ok well I am looking at your script for insparation

I am happy because I can make my own games.
Loller47
18
Years of Service
User Offline
Joined: 24th Sep 2005
Location:
Posted: 15th Oct 2005 06:17
Well here it is again


I am happy because I can make my own games.
PureEvil
18
Years of Service
User Offline
Joined: 14th Oct 2005
Location: Top secret lab somewhere in Nevada
Posted: 16th Oct 2005 06:40
what is this script for anyway?

Post the unposted...
Expect the unexpected...
But don't play the unplayed!!! ( If they're really bad, that is, which they probably are.)

Login to post a reply

Server time is: 2024-04-20 10:55:13
Your offset time is: 2024-04-20 10:55:13