TemporarySolutn Posted July 28, 2019 Share Posted July 28, 2019 just want the simple like TheWorld.net.components.clock:GetTime() == "day" or something (if it can be that simple) Link to comment Share on other sites More sharing options...
Hornete Posted July 28, 2019 Share Posted July 28, 2019 TheWorld.state.is"insertstatehere" Link to comment Share on other sites More sharing options...
TemporarySolutn Posted July 28, 2019 Author Share Posted July 28, 2019 15 minutes ago, Hornete said: TheWorld.state.is"insertstatehere" im guessing the states are "day" "night" and "dusk" but would this **** up in caves? On a similar note how would i check if the player was in daylight in the caves? Link to comment Share on other sites More sharing options...
Ultroman Posted July 28, 2019 Share Posted July 28, 2019 If you look at the worldstate.lua file all your questions will be answered. Look at everything between line 51 and 153. Link to comment 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