Page 1 of 1

Time of Day Events: Lights and Sound

Posted: Fri Apr 13, 2018 2:09 pm
by Jason Campbell
Time Events: Lights and Sound

Original Dynamic Light Code by John Ford
Sounds are CC0

Adds 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.zip
https://drive.google.com/open?id=1T8xUV ... 5OihBxFzGN
Follow 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 ();


Re: Time of Day Events: Lights and Sound

Posted: Mon Apr 16, 2018 10:32 pm
by Steve_Yorkshire
Noice :)