Scheduled system upgrade on Sunday 21 April 2024 15:00-16:00 UTC - On that day, the wiki and other services might go down for 5-15 minutes.

AIDef:Query/CheckDuringBloodyMoon: Difference between revisions

From ZeldaMods (Breath of the Wild)
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

CheckDuringBloodyMoon
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.