Okay, so. I need to be able to set the
FRACTION* variable in the daycycle. However, after searching for a while, I can't seem to find the variable name of that variable, or a function to change it.
I've decided to go with the
Day Time Offset. And, I've found that I can modify it using
serverCmdEnvGui_SetVar(%client*, DayOffset, Value);The issue is that I need to set the FRACTION variable to 0.25, and using the Day Time Offset doesn't seem to do it accurately.
Would somebody tell me either:
A) How to directly modify the FRACTION variable.
B) How the Day Time Offset works.
Thanks in advance.
* FRACTION - The FRACTION variable is the time of day, ranging from 0.0 to 1.0
* %client - A client object whose isAdmin variable is equal to 1. In order to simulate this, I'm using an AiConnection with the variable isAdmin set to 1.