I have a question and I hope someone here can help me find the bug.
I simplified the script quite a bit and ended up with this:
;Artificial Intelligence Script
;Header
desc = Show image on screen and play sound
;Triggers
:state=0,plrwithinzone=0:hudreset,hudx=50,hudy=50,hudimagefine=texturebank\user\image01.tga,hudname=imagescreen,hudhide=1,hudmake=display,state=10
:state=10,plrwithinzone=1:hudshow=imagescreen,hudfadeout=imagescreen,sound=audiobank\voices\male\spawn.wav
;End of Script
My objective is to make a script for a trigger zone that shows an image on screen and plays a sound at the same time. The problem is that the sound plays when I leave the trigger zone - not when I enter it. Does anyone know how to change my script to achieve the right effect?
Running my latest game superbly on FPSC and Project Blue Mod.