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 / Scripting help _.-'* IMPORTANT *'-._

Author
Message
Origin
18
Years of Service
User Offline
Joined: 11th Sep 2005
Location:
Posted: 15th Sep 2005 16:43
What is wrong with this script?



This is my first script and I am just a n00b in FPI
so don't laungh...

John

"if you=n00b then askForHelp()=ok
else askForHelp()!=ok"
Merranvo
18
Years of Service
User Offline
Joined: 24th May 2005
Location: That ^ is a Orange
Posted: 16th Sep 2005 01:49
Alot...
State=0 NEVER is called again... it is a loader, best to use it as so
don't place : to separate conditions, use "," to separate them
shootplr:0 don't know what that 0 is for...
you forgot rotatetoplr... and settarget should be constant.
don't make ladders with state's, one state to control everything.
Here it is, mabey a bug here and there, but most things are fixed.

::rotatetoplr
::settarget
:state=0:state=1
:state=1,plrcanbeseen,plrdistwithin=300:shootplr

Merranvo, taking over the net, one forum at a time.

"ye oft de adopte early shalt move mountains, and be gods among men"
Origin
18
Years of Service
User Offline
Joined: 11th Sep 2005
Location:
Posted: 16th Sep 2005 19:04
OK, thanks...

I needed some criticism for that bloop, but I just found the bug myself, I just looked at the script and laughed myself and then begun to cry... hehe... That script is pathetic!

Thanks anyway Merranvo...


John

"if you=n00b then askForHelp()=ok
else askForHelp()!=ok"

Login to post a reply

Server time is: 2024-04-20 10:17:24
Your offset time is: 2024-04-20 10:17:24