Jason Campbell Posted April 13, 2018 Share Posted April 13, 2018 Time Events: Lights and Sound Original Dynamic Light Code by John FordSounds are CC0Adds the ability to have lights in the level that turn on at night.Also demonstrates one way to have other things occur. I've included ambient sound that changes from day to night.Shows how relatively simple using a timed events are.Download timeEvent.ziphttps://drive.google.com/open?id=1T8xUVNn6M0FKpmluDmefig5OihBxFzGNFollow my crappy included instructions.Edit: Forgot to add to instructions. For the sound to start initially you need to call the function. I just put it in game.cs when the mission is loaded.Add :startDaySounds ();If your mission starts at night add:startNightSounds ();vvbel_h9pmQ Make sure that you have a scene set-up in a similar manner. AmbientSound, DynamicLights and MissionLights match the included code. Quote Link to comment Share on other sites More sharing options...
Steve_Yorkshire Posted April 16, 2018 Share Posted April 16, 2018 Noice :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.