AIDef:Query/CheckDuringBloodyMoon: Difference between revisions
Jump to navigation
Jump to search
imported>Leoetlino (import AI definitions from 1.5.0) |
imported>Leoetlino No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|type=Query | |type=Query | ||
}} | }} | ||
Returns 1 if: | |||
* [[WorldMgr]]'s current time is >= 315.0 (21:00) and the WM_BloodyDay flag is true; | |||
* or (time < 15.0 (01:00) and the WM_BloodyDay flag was true) | |||
Returns 0 if both conditions are false. | |||
== Derived definitions == | |||
=== CheckDuringBloodyMoon (EventSystemActor) === | |||
{{AIDefDerived | |||
|name=CheckDuringBloodyMoon | |||
|group_name= | |||
|derived_from=CheckDuringBloodyMoon | |||
|aiprog=EventSystemActor | |||
}} | |||
No overridden parameters. |
Latest revision as of 10:38, 31 October 2018
AI definition | |
---|---|
Type | Query |
Returns 1 if:
- WorldMgr's current time is >= 315.0 (21:00) and the WM_BloodyDay flag is true;
- or (time < 15.0 (01:00) and the WM_BloodyDay flag was true)
Returns 0 if both conditions are false.
Derived definitions
CheckDuringBloodyMoon (EventSystemActor)
No overridden parameters.