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 / Reading items finally

Author
Message
Earthpig_jr
15
Years of Service
User Offline
Joined: 31st Mar 2009
Location:
Posted: 23rd Apr 2009 06:24
Hi this is my first scripting but i have figured out how to walk up to an entity press enter and read it!
Put in what you what to read where "blah" is!
Quote: "
;Artificial Intelligence Script

;Header

desc = Read item

;Triggers

:state=0:hudreset,hudx=50,hudy=90,hudsize=15,hudtext="blah",hudname=Blastitprompt,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=90,hudsize=15,hudtext="blah",hudname=openprompt,hudhide=1,hudmake=display,
:state=0:hudreset,hudx=50,hudy=90,hudsize=15,hudtext="blah",hudname=aintprompt,hudhide=1,hudmake=display,
:state=0:hudreset,hudx=50,hudy=90,hudsize=15,hudtext="blah",hudname=Yesirprompt,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=90,hudsize=15,hudtext="blah",hudname=getc4prompt,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouse.tga,hudname=usedoorprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60:hudshow=usedoorprompt,hudfadeout=usedoorprompt

:state=10,plrdistwithin=60,plrusingaction=1:activate=2
:state=10,activated=2,plrdistwithin=100:timerstart,hudshow=openprompt,,state=1
:state=1,timergreater=1500:hudunshow=openprompt,state=2
:state=2:timerstart,hudshow=aintprompt,,state=3
:state=3,timergreater=1800:hudunshow=aintprompt,state=4
:state=4:timerstart,hudshow=Blastitprompt,state=5
:state=5,timergreater=1800:hudunshow=Blastitprompt,state=6
:state=6:timerstart,hudshow=Yesirprompt,,state=7
:state=7,timergreater=1000:hudunshow=Yesirprompt,state=8
:state=8:timerstart,hudshow=getc4prompt,state=9
:state=9,timergreater=1500:hudunshow=getc4prompt,state=11
:state=11,plrdistwithin=60,plrusingaction=1:activate=0
:state=12,activated=0:state=10

;End of Script
"

I made these scripts by combining the scripts
opendisdoororweblast.fpi Made by General Jackson
and dooruse.fpi by fpsc

Login to post a reply

Server time is: 2024-11-25 00:18:01
Your offset time is: 2024-11-25 00:18:01