TobyKenobi Posted May 17, 2021 Share Posted May 17, 2021 In uiclock.lua I found data.day, which holds the number of segments in the day phase. But I can't work out how to access it. I've tried code like this: local function myfunction(inst,data) myday=data.day end but data is nul, so I assume I'm not referencing it right, or it's unavailable to mods. So can anyone help me get the number of segments in each phase please? Link to comment https://forums.kleientertainment.com/forums/topic/130051-how-do-i-get-number-of-segments-in-daydusknight/ 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