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 / Why wont this script work?

Author
Message
Fuzz
18
Years of Service
User Offline
Joined: 14th Nov 2006
Location: Tasmania, Australia
Posted: 9th Feb 2008 15:27


DARKEST NIGHTMARE
coming 2008
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 9th Feb 2008 16:03
What part of it won't work? What does it do? What did you want it to do?

Best.

Fuzz
18
Years of Service
User Offline
Joined: 14th Nov 2006
Location: Tasmania, Australia
Posted: 9th Feb 2008 16:41
when i walk up to the keypad it wont do any thing. i have made a picture for the enteraccesscode.tga part of the script but that wont come up either

DARKEST NIGHTMARE
coming 2008
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 9th Feb 2008 23:41 Edited at: 9th Feb 2008 23:43
Quote: ":state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecoretextenteraccesscode.tga,hudname=useswitchprompt,hudhide=1,hudmake=display,state=10

:plrdistwithin=50:hudshow=useswitchprompt,hudfadeout=useswitchprompt
:state=10,plrdistwithin=50,scancodekeypressed=75:state=11,sound=audiobankswitchespress.wav

:state=11,plrdistwithin=50,scancodekeypressed=81:state=12,sound=audiobankswitchespress.wav

:state=12,plrdistwithin=50,scancodekeypressed=73:state=13,sound=audiobankswitchespress.wav

:state=13,plrdistwithin=50,scancodekeypressed=75:state=14,sound=audiobankswitchespress.wav :state=14:state=1,plrsound=$0,activateifused=1,alttexture=1:state=1,plrusingaction=0:state=2 :state=2,plrdistwithin=50,plrusingaction=1:state=3,plrsound=$1,activateifused=0,alttexture=0

:state=3,plrusingaction=0:state=10

;End of Script"


Error is in bold, just put it on a new line...

Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 10th Feb 2008 01:02 Edited at: 10th Feb 2008 01:03
The best piece of advice for scripting I've heard came from Plystire:

Quote: "You shouldn't have more than two colons ' : ' on one line"


Fuzz
18
Years of Service
User Offline
Joined: 14th Nov 2006
Location: Tasmania, Australia
Posted: 10th Feb 2008 07:11
ok thanks guys ill try it out

DARKEST NIGHTMARE
coming 2008
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 11th Feb 2008 07:50 Edited at: 11th Feb 2008 07:54
Quote: "What does it do?"


lol

that coming from the guy who wrote it....

Quote: "

;Artificial Intelligence Script

; by xplosys

"


lol

The name says it all!

Just kidding xplosys I know your intelligence is real.

Don't forget to visit Conjured Entertainment

xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 11th Feb 2008 22:14 Edited at: 11th Feb 2008 22:15
Quote: ""What does it do?""


LOL. I meant..... "What does the script do when you run it?"

Wise guy's.

but yeah, I should have looked more carefully at his copy.

Best.

Login to post a reply

Server time is: 2024-11-24 03:57:59
Your offset time is: 2024-11-24 03:57:59