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 / Script porblems, help plz

Author
Message
Dr Cuddles
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: In your toilet...*Splosh*
Posted: 9th Jul 2006 01:01
Every script i use to do with characters never works
im trying to use this code:
Quote: "
;Displaying of text Script

;Header

desc = game conversation

;walk up to an character and he will display a messages. when the user presses enter the next message will be shown
;when the user presses enter once more, the last message will display.
;can be used for talking characters

;Triggers

:state=0:hudreset,hudx=50,hudy=50,hudimagefine=text1.gif,hudname=talk1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=text2.gif,hudname=talk2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=text3.gif,hudname=talk3,hudhide=1,hudmake=display,state=9

:state=9,plrdistwithin=160:rotatetoplr
:state=9,plrdistwithin=60:state=10,sound=ping.wav
:state=10,plrdistwithin=60:rotatetoplr,hudshow=talk1,hudfadeout=talk1
:state=10,plrusingaction=1:timerstart,state=15

:state=15,timergreater=500:state=19

:state=19,plrdistwithin=60:state=20,sound=ping.wav
:state=20,plrdistwithin=60:rotatetoplr,hudshow=talk2,hudfadeout=talk2
:state=20,plrusingaction=1:timerstart,state=25

:state=25,timergreater=500:state=29

:state=29,plrdistwithin=60:state=30,sound=ping.wav
:state=30,plrdistwithin=60:rotatetoplr,hudshow=talk3,hudfadeout=talk3
:state=30,plrusingaction=1:timerstart,state=35

:state=35,timergreater=500:state=2

:state=2,plrdistfurther=60:state=9

;End of Script
"

and i link it to an 'AI (Unarmed)' in the 'Main' part of the 'AI Scripts' section but it never works

any suggestions>

,thanks

"I dont' know what weapons will be fought with in WW3 but in WW4 it will be sticks and stones" - Albert Einstien
Dr Cuddles
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: In your toilet...*Splosh*
Posted: 9th Jul 2006 01:12
I cant believe i got the Thread name wrong and put Quote instead of Code *sighs*

"I dont' know what weapons will be fought with in WW3 but in WW4 it will be sticks and stones" - Albert Einstien
Wrycu
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location:
Posted: 15th Jul 2006 02:33
Whats wrong with it?

3.0GHz Pentium 4HT, 512MB RAM, NVidia 5200 128MB PCI

<--Wrycu-->
Dr Cuddles
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: In your toilet...*Splosh*
Posted: 15th Jul 2006 15:14
Ah i've figured it out now, just neede a bit of fiddling with,

this scripting stuff aint half bad

"I dont' know what weapons will be fought with in WW3 but in WW4 it will be sticks and stones" - Albert Einstien
Slickboy
18
Years of Service
User Offline
Joined: 19th Jul 2006
Location:
Posted: 23rd Jul 2006 12:27
Is DarkBASIC code the same as the script u use in fpsc?

Slickboy

Login to post a reply

Server time is: 2024-11-22 19:36:55
Your offset time is: 2024-11-22 19:36:55