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 / Differnet Music In each level Script!

Author
Message
BioX
17
Years of Service
User Offline
Joined: 4th Sep 2007
Location:
Posted: 10th Sep 2007 02:22


Attach to a sound zone, set this as it's main and pick your sound
protoborg
17
Years of Service
User Offline
Joined: 2nd Jul 2007
Location: Somewhere in this reality
Posted: 10th Sep 2007 02:37
Someone previously posted a better way at one point. I do not remember how they said to do it, but it to work.

You know your code sucks when it does what you want before you know what you want.
BioX
17
Years of Service
User Offline
Joined: 4th Sep 2007
Location:
Posted: 10th Sep 2007 05:01
I don't see how this could be any easier
Nomad Soul
Moderator
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location: United Kingdom
Posted: 10th Sep 2007 23:56
Is it possible to add something to the script to stop an existing sound file and start a new one so the music / background ambience can be changed during a level aswell as at the start of a new one ?
Thistle Studios
17
Years of Service
User Offline
Joined: 1st Mar 2007
Location: Kirkcaldy
Posted: 11th Sep 2007 20:51
set a plrwithinzone=1 and not a =0, then in logic, you go into the one square zone and it never stops



Or...



Im a new user, im young and FPI-dyslexic, i simply dont have the foggiest and cant learn FPI, so copy and paste code snippets please!
protoborg
17
Years of Service
User Offline
Joined: 2nd Jul 2007
Location: Somewhere in this reality
Posted: 11th Sep 2007 21:21 Edited at: 11th Sep 2007 21:22
I found this thread:
http://forum.thegamecreators.com/?m=forum_view&t=108343&b=23
It is talking about changing your sky between level, but it is also a way to change your level sound. BioX, I don't know if this is the kind of change you were talking about, but it seems this would be less laggy than using a trigger zone.

You know your code sucks when it does what you want before you know what you want.

Login to post a reply

Server time is: 2024-11-23 23:21:48
Your offset time is: 2024-11-23 23:21:48