Scripts / PlaySound(e,0) not working

Author
Message
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 26th Feb 2018 19:25 Edited at: 26th Feb 2018 20:06
Hi , can someone maybe tel me why this script do not work,
but if i use LoopSound(e,0) , instead of PlaySound(e,0) then it play the music.
i am testing this on and empty map.




edit
ok i have tested again. for some reason it does work but only if i go in side of the 100 range and then when i came out of the 100 range then the sound only starts to play. ??


Ok. my fault. i got it working like so


i realize that that it will only play if i use a flag, because the script starts the sound over and over as long as i am in the 100 zone. ( so , no sound )
so my mistake.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 4GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11

Login to post a reply

Server time is: 2024-12-22 19:20:40
Your offset time is: 2024-12-22 19:20:40