Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ambient Music/Sound Fix
RaideX Offline
Member

Posts: 212
Threads: 33
Joined: May 2013
Reputation: 7
#3
RE: Ambient Music/Sound Fix

(02-06-2014, 05:27 AM)DreamScripters Wrote: Ok, so what I got from your post (correct me if i'm wrong) is that there are two script areas that will play the same ambience but when you enter said one of them while the same music is playing it will start over? If this is the case all I beleive you would have to do is set up a conditional statement that will check if the same ambeince is already playing. Sinse there is no way to be able to get the music playing you will have to get creative and use intigers.

So, how we could accomplish this is that we would take all of the script areas that have your problem and make it so it adds 1 to a intiger (considering it isn't already 1) that you would have already defined. And then when walking into an area that plays the same ambeince that is already playing you could make it so that if your intiger is equal to one it won't start the ambeince. And then just make it so when you go into any other script area it will set it back to 0.

Sorry if my reply looks like gibberish to you. Tongue I am very tired. But if this doesn't make sense I can explain it more with the actual script as a reference. Good luck!

alright, you got my point.

I'll try to work on it when i have some time and get back to you when i run into any problems or when i finish it. Thanks for the answer Smile

If you don't draw first, you don't get to draw at all... -The False Shepherd
(This post was last modified: 02-06-2014, 07:38 AM by RaideX.)
02-06-2014, 07:38 AM
Find


Messages In This Thread
Ambient Music/Sound Fix - by RaideX - 02-05-2014, 06:08 PM
RE: Ambient Music/Sound Fix - by DreamScripters - 02-06-2014, 05:27 AM
RE: Ambient Music/Sound Fix - by RaideX - 02-06-2014, 07:38 AM
RE: Ambient Music/Sound Fix - by Daemian - 02-06-2014, 08:16 PM
RE: Ambient Music/Sound Fix - by RaideX - 02-06-2014, 09:45 PM
RE: Ambient Music/Sound Fix - by MyRedNeptune - 02-06-2014, 09:59 PM
RE: Ambient Music/Sound Fix - by RaideX - 02-07-2014, 01:41 PM



Users browsing this thread: 1 Guest(s)