AIDef:Action/AdvanceTime: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
No edit summary
imported>Leoetlino
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
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.
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 the World Manager runs on the next tick.
The actual time of day is only modified when [[WorldMgr]] runs on the next tick.


== DynamicInstParams ==
== DynamicInstParams ==
Line 32: Line 32:
| PassTime || Int ||  || Set the hour to {current hour} + {PassTime} and minutes to 00
| PassTime || Int ||  || Set the hour to {current hour} + {PassTime} and minutes to 00
|-
|-
| ActReset || Bool ||  ||  
| ActReset || Bool ||  || Start a system reset (stop actor gen, delete all actors, warp player, special processing, generate actors, load resources, reset processing<ref>0x7101DC4AC8</ref>)
|-
|-
|}
|}

Latest revision as of 22:35, 3 December 2018

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