This Level Object will fire an “Activated” event when the current time is within the set “Time” and “MaxTime” properties. This relates to the internal time of day of the game, it has no actual relation to real world time of day.
Right-click on an empty space in the Layout Scene Manager and choose Logic > Time of Day from the list.
Name | Type | Description | Read Only |
---|---|---|---|
PROPERTIES | |||
Enabled | bool | Set the time of day object enabled or disabled | |
TIME | |||
Maxtime | float | Set the maximun time of day for the Time of Day object to trigger | |
Time | float | Set the minimun time of day for the Time of Day object to trigger | |
TIMER | |||
Loop count | int | Set the number of loops the Time of Day object does. | |
Loops Forever | bool | If *true* the Time of Day object loops forever. | |
Trigger on load | bool | If *true* the Time of Day object will trigger if the current time is within the “Time” and “MaxTime” values on load. |