AIDef:Query/CheckTime: Difference between revisions

Jump to navigation Jump to search
no edit summary
imported>Leoetlino
No edit summary
imported>Leoetlino
No edit summary
 
Line 4: Line 4:
}}
}}


Returns 1 if the current time is {condition} than or equal to the specified time, and 0 otherwise.
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.
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.
Anonymous user

Navigation menu