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
Piano Music Wont Stop?(goto post #4)
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#5
RE: Piano Music Wont Stop?(goto post #4)

You might need to use the sound's name to identify the sound:

void OnStart()
{
AddEntityCollideCallback("Player", "PianoStop", "PianoStop", true, 1);
PlaySoundAtEntity("Piano_Sound1", "general_piano04", "Piano", 0, false);
}

void PianoStop(string &in asParent, string &in asChild, int alState)
{
StopSound("Piano_Sound1", 0);
}
(This post was last modified: 12-30-2011, 03:57 PM by Apjjm.)
12-30-2011, 03:57 PM
Find


Messages In This Thread
RE: Surround Sound Custom Music? - by flamez3 - 12-30-2011, 06:18 AM
RE: Surround Sound Custom Music? - by Tripication - 12-30-2011, 06:42 AM
RE: Surround Sound Custom Music? - by Tripication - 12-30-2011, 11:40 AM
RE: Piano Music Wont Stop?(goto post #4) - by Apjjm - 12-30-2011, 03:57 PM



Users browsing this thread: 1 Guest(s)