AIDef:Action/AdvanceTime: Difference between revisions
Jump to navigation
Jump to search
imported>Leoetlino No edit summary |
imported>Leoetlino No edit summary |
||
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 actual time of day is only modified when [[WorldMgr]] runs on the next tick. | ||
== DynamicInstParams == | == DynamicInstParams == |
Revision as of 10:38, 30 October 2018
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:
| |
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 |
Derived definitions
Demo_AdvanceTime (EventSystemActor)
No overridden parameters.