User Tools

Site Tools


Sidebar

time_of_day_object

Time of Day Object


Description

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.


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 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.

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.
time_of_day_object.txt · Last modified: 2019/07/18 12:29 by anarch16sync