GrandmasterSen Posted November 3, 2017 Share Posted November 3, 2017 I'm trying to make a mod to make a structure respawn after two days. I have a good idea of how to execute it, with debug.getupvalue and debug.setupvalue, but I don't know how to check for when a day has been completed. Sorry for the lack of information.. Running on not much sleep. Link to comment https://forums.kleientertainment.com/forums/topic/83708-detect-new-day/ Share on other sites More sharing options...
Backtalker Posted December 2, 2017 Share Posted December 2, 2017 Here is the way to listen for the event. I'm sure you can figure out the rest. inst.ListenForEvent("daytime",EVENTHERE) -- Replace EVENTHERE with a function Link to comment https://forums.kleientertainment.com/forums/topic/83708-detect-new-day/#findComment-980370 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now