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 / Headshot Sounds

Author
Message
RobsonByte
15
Years of Service
User Offline
Joined: 11th Oct 2009
Location:
Posted: 11th Oct 2009 17:38
How to display a new object in the screen and play "headshot" sound when you hit the enemy's head?

Sorry for my bad english.
RobsonByte
15
Years of Service
User Offline
Joined: 11th Oct 2009
Location:
Posted: 15th Oct 2009 10:27 Edited at: 16th Oct 2009 05:04
My scripts for this don't work! Help me!

;Artificial Intelligence Script

;Header

desc = Fade Out Disappear

;Triggers

:state=0:state=1
:state=1,alphafadeequal=100:decalphafade=0
:state=1,alphafadeequal=0:state=2,destroy,sound=audiobank\user\Heashot.wav
:state=1,alphafadeequal=0:state=2,hudimagefine=gamecore\text\Headshot.tga,hudname=Unbelievable,hudhide=1,hudmake=display,setalphafade=100,headshot=52,runfpidefault=1
:state=1,alphafadeequal=0:state=2,hudshow=Headshot

;End of Script

Ps.:
When it appears, I can't make it disappear after 2 seconds.

Login to post a reply

Server time is: 2024-11-25 08:00:15
Your offset time is: 2024-11-25 08:00:15