I'm using rofly's spiders as a boss in my game, and I want it so when you get so far away, it shoots a web at you, you freeze, and it would freeze you until 10 seconds pass. Also, I want it so an image of a spider web comes up, it's destination is C
rogram FilesThe Game CreatorsFPS CreatorFilestexturebanktextures
and the file name is spiderweb.dds. This is very similiar to Bond1's Ice Wizard, but in the form of a spider. I don't really need the spider to shoot a web as a bullet, but it would be nice if that was possible. I would also like it so it shoots at random (Random 100.) Here is what I have so far (basic rofly spider script pretty much.) I need to know how to do this, I have all the ideas, but no idea how to compile it into a script, for I have not been on FPSC for months.
;Created by Benjamin Aeilkema
desc = spider attack
;Triggers
:state=0,plrdistwithin=500:state=1
:state=0,plrdistfurther=190:state=2
;:state=1,plrdistfurther=140:rotatetoplr,movefore=300,animate=2
:state=1,plrdistwitin=460:rotatetoplr,movefore=300,animate=2
:state=1,plrdistfurther=500:animate=0,state=0
:state=1,plrdistwithin=140,rateoffire:rotateplr,animate=92,plraddhealth=-20,sound=$0,state=1
:state=2,plrdistfurther=200,random=100:timerstart,hudshow=C:\Program Files\The Game Creators\FPS Creator\Files\texturebank\textures\spiderweb,state=2
:state=2,timer=400:hudhide=C:\Program Files\The Game Creators\FPS Creator\Files\texturebank\textures\spiderweb,state=1
That's what I have for the Image (State 2) but the image I have doesn't show up, and I am clueless to how to freeze the player.
Thank you