- Dec 11, 2016
- 11
- 3
In my map, I have a room that contains a jukebox, which is supposed to play an .mp3 file that I have created. I have the ambient_generic, a timer that re-fires after the whole song finishes and replays it, and a logic_auto to fire the timer when you join the map.
Interestingly enough, in my test map, when the player spawned near the entity it was able to play and loop properly, with no problems. But, as soon as I implemented it into my actual map, it would not play when I walked across the map towards it, unless I waited the length of the song.
I discovered that whenever you are in it's presence, it will function, but will not globally start unless you are within it's radius.
Is there any way I can go about making it constantly loop, even if a player isn't within earshot so it doesn't sit in silence for 4 minutes, then play?
Interestingly enough, in my test map, when the player spawned near the entity it was able to play and loop properly, with no problems. But, as soon as I implemented it into my actual map, it would not play when I walked across the map towards it, unless I waited the length of the song.
I discovered that whenever you are in it's presence, it will function, but will not globally start unless you are within it's radius.
Is there any way I can go about making it constantly loop, even if a player isn't within earshot so it doesn't sit in silence for 4 minutes, then play?