AIDef:Query/CheckTime: 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
Line 5: Line 5:


Returns 1 if the current time is {condition} than or equal to the specified time, and 0 otherwise.
Returns 1 if the current time is {condition} than or equal to the specified time, and 0 otherwise.
Example: for Hour=6, Minute=1 and ConditionType=ge, if the current time is 07:00, the query will return 1. If it is 06:00, 0 will be returned.


== DynamicInstParams ==
== DynamicInstParams ==

Revision as of 09:47, 30 October 2018

CheckTime
AI definition
Type Query

Returns 1 if the current time is {condition} than or equal to the specified time, and 0 otherwise.

Example: for Hour=6, Minute=1 and ConditionType=ge, if the current time is 07:00, the query will return 1. If it is 06:00, 0 will be returned.

DynamicInstParams

Name Type Default value Description
Hour Int
Minute Int
ConditionType String "le" (lower than or equal to) or "ge" (greater than or equal to)


Derived definitions

CheckTime (EventSystemActor)

No overridden parameters.