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
Stopping music, spawning objects. Help.
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#6
RE: Stopping music, spawning objects. Help.

Try lowering the MaxDistance. Making it lower will decrease the radius in which the sound can be heard. I forget exactly how far away it equates to, so you may have to do a little bit of testing and changing to alter it.

Edit:
Have you also got the .ogg file(s) for the ambience_haunting.snt somewhere in your custom story directory (preferably your own)?

In terms of the scripting aspect, it should be the same as colliding with a normal script area, provided it is tall/thick/wide enough for the Player to not miss it. As such, you would use an AddEntityCollideCallback like the one above, and like Mudbill below me says, to use PlayGuiSound(); if it should be around the Player.

If it still does not work, recheck the names of your script areas.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 01-08-2015, 12:39 PM by Romulator.)
01-08-2015, 12:29 PM
Find


Messages In This Thread
RE: Stopping music, spawning objects. Help. - by Romulator - 01-08-2015, 12:29 PM



Users browsing this thread: 1 Guest(s)