I am having trouble getting a video to play once I have pressed a switch, NOT using a zone. This is what I have.
;Artificial Intelligence Script
;Header
desc = Switch Activate (toggle on and off)
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouse.tga,hudname=useswitchprompt,hudhide=1,hudmake=display,state=10
:plrdistwithin=40:hudshow=useswitchprompt,hudfadeout=useswitchprompt
:state=10,plrdistwithin=40,plrusingaction=1:state=1,plrsound=$0,activateifused=1,alttexture=1,video=videobank\Door1.wmp
;End of Script
Can anyone help me or correct me?