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 / Sound play once!!!

Author
Message
bergice
17
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 11th Jun 2007 13:16
Hi, i am making a horror/scary game and i dont want my sounds to play each time you walk into the sound.
Like it play once and then it deletes itself or something?

bla bla bla...
pigs can fly
18
Years of Service
User Offline
Joined: 20th Aug 2006
Location: Luxembourg
Posted: 12th Jun 2007 16:13 Edited at: 12th Jun 2007 16:16
give this script to a triggerzone:


sound=$0 is the 1st sound box in the editor
You can also replace $0 by the sound location (sound=audiobank\...)

Hope that helped


All the free PCF Productions Stuff
cell289
17
Years of Service
User Offline
Joined: 31st Dec 2006
Location: in your mirror
Posted: 22nd Jun 2007 00:15
man wouldent it it be nice if they said thank u afterwards?

warning: ticking me off WILL result in crushing. have a nice day.

Login to post a reply

Server time is: 2024-11-23 18:12:10
Your offset time is: 2024-11-23 18:12:10