AIDef:Action/AdvanceTime

AdvanceTime
AI definition
Type Action

Modifies the current time. This action can be used in three different ways: by setting one of DestTime, DirectTime or PassTime, and the other two to -1. If several times are given, the time of day will be modified but the action will be considered as failed.

The actual time of day is only modified when WorldMgr runs on the next tick.

DynamicInstParams

Name Type Default value Description
DestTime Int Set the time to:
  • 0: 05:00
  • 1: 12:00
  • 2, 13: 21:00
  • 3: 06:00
  • 4: 16:00
  • 5: 20:00
  • 6: 03:00
  • 7: 04:00
  • 8: 07:00
  • 9: 10:00
  • 10: 13:00
  • 11: 17:00
  • 12: 19:00
  • 14: 00:00 (new day)
DirectTime Int Set the hour to {DirectTime} and minutes to 00
PassTime Int Set the hour to {current hour} + {PassTime} and minutes to 00
ActReset Bool Start a system reset (stop actor gen, delete all actors, warp player, special processing, generate actors, load resources, reset processing[1])


Derived definitions

Demo_AdvanceTime (EventSystemActor)

No overridden parameters.

  1. 0x7101DC4AC8