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 / 'Shoot' script not working

Author
Message
MatB
14
Years of Service
User Offline
Joined: 26th Apr 2010
Location:
Posted: 28th Apr 2010 08:53
Hi all,

If anyone can be of assistance it would be much appreciated.

Have conjured up this script to open a door and display a HUD message and only the door opening seems to work. any ideas? Thanks.

;Artificial Intelligence Script

;Header

desc = Shoot to open door and display a message

;Triggers

:state=0,shotdamage=1:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pic1.jpg,hudname=yourhud,hudhide=1,hudmake=display,state=1
:state=1:incframe=0
:state=1,frameatend=0:state=2,coloff

;End of Script
ctm
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location:
Posted: 28th Apr 2010 12:22
hudshow=yourhud is missing.

you'll also have to add hudfadeout=yourhud or hudunshow=yourhud to remove the hud from the screen.
MatB
14
Years of Service
User Offline
Joined: 26th Apr 2010
Location:
Posted: 28th Apr 2010 13:23
Oh yeah, of course!

Thanks CTM.
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 28th Apr 2010 22:07
Mat,

Received your e-mail and replied.

- BlackFox

Login to post a reply

Server time is: 2024-11-24 23:50:57
Your offset time is: 2024-11-24 23:50:57