AIDef:Query/CheckTime

CheckTime
AI definition
Type Query

Returns 1 if the WorldMgr's 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.