Time Of Day Object
From Runic Games Wiki
Contents |
Time of Day
Description
This Level Object will fire an "Activated" event when the current time is within the set "Time" and "MaxTime" properties.
Location
Right-click on an empty space in the Layout Scene Manager and choose Logic > Time of Day from the list.
Properties
Name | Type | Description | Read Only |
---|---|---|---|
PROPERTIES | |||
ENABLED | |
Set the Time of Day object enabled or disabled. | |
TIME | |||
MAXTIME | |
Set the maximum time of day for the Time of Day object to trigger. | |
TIME | |
Set the minimum time of day for the Time of Day object to trigger. | |
TIMER | |||
LOOP COUNT | |
Set the number of loops the Time of Day object does. | |
LOOPS FOREVER | |
If True the Time of Day object loops forever. | |
TRIGGER ON LOAD | |
If True the Time of Day object will trigger if the current time is within the "Time" and "MaxTime" values on load. | |
Input Events
- Enable
- Enable the Time of Day object. The Time of Day object will fire the "Activated" Output event when the current time is within the "Time" and "MaxTime" values.
- Disable
- Disable the Time of Day object. The Time of Day object will not fire the "Activated" Output event when the current time is within the "Time" and "MaxTime" values.
Output Events
- Enabled
- This event will fire when the Time of Day object receives an "Enable" Input event.
- Disabled
- This event will fire when the Time of Day object receives a "Disable" Input event.
- Activated
- This event will fire when the current time is within the "Time" and "MaxTime" values.