;Artificial Intelligence Script

by TheStoryteller01 2010

;Header

desc=

This script only works with FPSC 1.16.18, because FPGCRAWTEXT is used.

Made for trigger zones that play information when the player steps into the zone but only once.

While the script is running the player cannot move or use mouselook but still shoot.

The script is running on its own but the player can speed up the display of the messages and ending the script by pressing <Enter> 
after each text display.Pressing <Del> at any time ends the script.

;Triggers

:state=0:state=1

:state=1,plrwithinzone=1:timerstart,plrdisable=100000,state=2

:state=2:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=150,fpgcrawtextg=150,fpgcrawtextb=150,fpgcrawtextx=50,fpgcrawtexty=80
:state=2:fpgcrawtext=It's very strange...
:state=2,timergreater=500,plrusingaction=1:timerstart,state=9
:state=2,timergreater=3000:timerstart,state=9
:state=2,scancodekeypressed=14:plrdisable=0,state=10

:state=9:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=150,fpgcrawtextg=150,fpgcrawtextb=150,fpgcrawtextx=50,fpgcrawtexty=80
:state=9:fpgcrawtext=I don't remember such a long corridor in the hotel.
:state=9,timergreater=500,plrusingaction=1:plrdisable=0,state=10
:state=9,timergreater=3000:plrdisable=0,state=10
:state=9,scancodekeypressed=14:plrdisable=0,state=10


;End of Script
