Product Chat / Looping music

Author
Message
Rector
5
Years of Service
User Offline
Joined: 11th May 2019
Location: Manchester
Posted: 26th Aug 2020 13:40
I have placed the sound zone into my game and added the script "Musicinzone".
However, when I step into it the music works as it should, but once I step out of it, it just carries on looping and doesnt stop.
Anyone any ideas why this is happening and what I can do to rectify it?
Processor i9-9900k CPU@ 3.60GHZ
Ram 32GB
Windows 10 64bit
GeForce RTX 2060
PM
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 26th Aug 2020 13:58 Edited at: 26th Aug 2020 14:00
Sorry read the opening post backwards lol

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Primary Laptop:
i5, NV1050 4GB, 8GB memory, 1x 1TB HDD, Win10.

Secondary Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 26th Aug 2020 13:59
Just place a trigger and attach "musicinzone.lua "
I think that will have the effect your looking for.
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 26th Aug 2020 14:11 Edited at: 26th Aug 2020 14:11
Try this one instead ....

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Primary Laptop:
i5, NV1050 4GB, 8GB memory, 1x 1TB HDD, Win10.

Secondary Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.

Attachments

Login to view attachments
Rector
5
Years of Service
User Offline
Joined: 11th May 2019
Location: Manchester
Posted: 26th Aug 2020 14:45
Thanks Belidos, that worked just fine. Very much appreciated.....

Synchromesh - Unfortunately the orginal Music In zone script didn't work. It just carried on playing. But I do appreciate your help.
Processor i9-9900k CPU@ 3.60GHZ
Ram 32GB
Windows 10 64bit
GeForce RTX 2060
PM
Rector
5
Years of Service
User Offline
Joined: 11th May 2019
Location: Manchester
Posted: 26th Aug 2020 15:02
Sorry Belidos I thought we had it then, but It worked the first couple of times and now its just continuing to loop when I come out of the Zone?
Processor i9-9900k CPU@ 3.60GHZ
Ram 32GB
Windows 10 64bit
GeForce RTX 2060
PM
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 26th Aug 2020 16:01
hmn that's odd, it's working for me

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Primary Laptop:
i5, NV1050 4GB, 8GB memory, 1x 1TB HDD, Win10.

Secondary Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 26th Aug 2020 18:35
Ahh i misread also. I thought you wanted the loop.
A sound zone only normally plays once and destroys the zone.
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 27th Aug 2020 01:36
Belidos's script works fine for me too, althought you don't need the global var.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM

Login to post a reply

Server time is: 2024-11-23 15:38:22
Your offset time is: 2024-11-23 15:38:22