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
Stop sound doesn't work
ooadrianoo Offline
Member

Posts: 82
Threads: 29
Joined: Apr 2012
Reputation: 0
#1
Stop sound doesn't work

I want to stop playing a sound:
StopSound("xxxxx.snt", 0);
But the sound doesn't stop...
07-20-2012, 05:02 PM
Find
Steve Offline
Member

Posts: 178
Threads: 17
Joined: Jun 2012
Reputation: 7
#2
RE: Stop sound doesn't work

Maybe a little more information would help... Confused

CURRENTLY WORKING ON:
Final Light = 40%
Need of voice actors.
07-20-2012, 05:27 PM
Find
ooadrianoo Offline
Member

Posts: 82
Threads: 29
Joined: Apr 2012
Reputation: 0
#3
RE: Stop sound doesn't work

{SetEntityPlayerInteractCallback("lever_nice01_2", "x", true);}
void x(string &in asEntity)
{
StopSound("xxxxx", 0);
SetLevelDoorLocked("level_hub_1", false);  
}
07-20-2012, 05:31 PM
Find
JMFStorm Offline
Member

Posts: 205
Threads: 8
Joined: Aug 2011
Reputation: 28
#4
RE: Stop sound doesn't work

You don't put the file name.snt there, but the actual name you've put in PlaySoundAtEntity command (string& asSoundName).

07-20-2012, 05:32 PM
Find
ooadrianoo Offline
Member

Posts: 82
Threads: 29
Joined: Apr 2012
Reputation: 0
#5
RE: Stop sound doesn't work

Still doesn't work :S
In PlaySoundAtEntity is exactly the same name.
07-20-2012, 05:45 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#6
RE: Stop sound doesn't work

Show us more code. Don't have us assume things that is in contradiction of the issue.

Tutorials: From Noob to Pro
07-20-2012, 09:11 PM
Website Find




Users browsing this thread: 2 Guest(s)