AIDef:Action/AdvanceTime: Difference between revisions

Jump to navigation Jump to search
no edit summary
imported>Leoetlino
(import AI definitions from 1.5.0)
 
imported>Leoetlino
No edit summary
Line 3: Line 3:
|type=Action
|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 the World Manager runs on the next tick.


== DynamicInstParams ==
== DynamicInstParams ==
Line 8: Line 12:
! Name !! Type !! Default value !! Description
! Name !! Type !! Default value !! Description
|-
|-
| DestTime || Int ||  ||  
| 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 ||  ||  
| DirectTime || Int ||  || Set the hour to {DirectTime} and minutes to 00
|-
|-
| PassTime || Int ||  ||  
| PassTime || Int ||  || Set the hour to {current hour} + {PassTime} and minutes to 00
|-
|-
| ActReset || Bool ||  ||  
| ActReset || Bool ||  ||  
Anonymous user

Navigation menu