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 Product Chat / Why does not the sound turn off when the drone is shot down?

Author
Message
Mr Love
13
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 22nd Aug 2016 03:00
Here is the appear script:
:state=0:setalphafade=100,loopsound=audiobank\user\drone.ogg,runfpidefault=1


and here is the destroy script:
:state=0:state=1
:state=1,alphafadeequal=100:stopsound=audiobank\user\drone.ogg,decalphafade=0
:state=1,alphafadeequal=0:state=2,destroy

Its weird it doesnt work out I think!
arrojar entidad y que explote
4
Years of Service
User Offline
Joined: 3rd Jan 2015
Location:
Posted: 22nd Aug 2016 14:43
Hello, this might you work?

The command on a trigger zone and if used in the entity, the name of the trigger zone.


example:
trigger zone - name: plane sound
plane entity - if used: plane sound

used in the entity destroy and activate


;Artificial Intelligence Script

;Header

desc = sound destroy por activacion
;Triggers

:state=0,plrwithinzone=1:state=1,sound=$0
:state=1,activated=1estroy
arrojar entidad y que explote
4
Years of Service
User Offline
Joined: 3rd Jan 2015
Location:
Posted: 22nd Aug 2016 14:47
sonido.ogg to add the trigger zone. sound 0
Mr Love
13
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 24th Aug 2016 09:56
I will try it out. Thanks alot for Your help!

Login to post a reply

Server time is: 2019-05-21 15:30:10
Your offset time is: 2019-05-21 15:30:10