Scripts / [SOLVED] Stop LoopSound(e,0)

Author
Message
PCS
5
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 4th Dec 2020 17:13
HI everyone.

I found this link on forum to stop loop sound. posted 25th Nov 2015 09:51 https://forum.game-guru.com/thread/213857#msg2533903
What i want to know, after al these years, isn't there a simpler way or another way to stop LoopSound(e,0) at this point in time.

I am busy to make more than one level on one map, so i want to have LoopSound playing while the player is busy with the level, and then when he goes to level 2 on the same map then i want to stop loopsound for level one and start level two with its own loopsound.

Any help would be much appreciated.

Pcs
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11

The author of this post has marked a post as an answer.

Go to answer
PCS
5
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 4th Dec 2020 17:48
This post has been marked by the post author as the answer.
NeverMind, got it to stop.
I got it to work by using an entity to start the LoopSound instead of a zone.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11

Login to post a reply

Server time is: 2022-01-28 06:31:03
Your offset time is: 2022-01-28 06:31:03