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)
Tripication Offline
Member

Posts: 172
Threads: 19
Joined: Dec 2011
Reputation: 6
#4
RE: Surround Sound Custom Music?

Ok, disregard the last idea, I am now following this(to a certain extent) http://www.youtube.com/watch?v=EhUjbK_vEhM

and i have this


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

void PianoStop(string &in asParent, string &in asChild, int alState)
{
StopSound("general_piano04", 0);
}


It is suppose to make the piano sound stop playing when i come into near contact with the piano, but it doesnt stop...

Anything wrong with the script?

[Image: speedart__2___yoshimitsu_by_kamofudge-d4yo6kk.png]
(This post was last modified: 12-30-2011, 11:41 AM by Tripication.)
12-30-2011, 11:40 AM
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



Users browsing this thread: 1 Guest(s)