Time Of Day Object

From Runic Games Wiki
Jump to: navigation, search

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
bool
Set the Time of Day object enabled or disabled.
TIME
MAXTIME
float
Set the maximum time of day for the Time of Day object to trigger.
TIME
float
Set the minimum 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.

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.
Personal tools
Namespaces

Variants
Actions
Navigation
Runic Sites
Toolbox