Jump to content

Triggering music at certain time in game?


Eggtooth

Recommended Posts

So Recently I had a thought of doing a mod.

 

I feel like the creepy ambient tracks that are present in the game are underutilised and I wanted to make a mod, or atleast try making a mod, where these creepy ambients override any sort of music when game time hits 23:00 (11:00 PM) in game.

 

Basically I want game to use only ambient music table from MusicChoices.lua, forcibly switching to it, after 23:00 in game. I want to do this because I feel like it would increase the tension and make the game much, much more creepy at night if said music was playing.

 

Does anyone know what function I need to call or could call to then make the game play only ambient music, then go back at 6:00 AM to normal music?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...