AIDef:Query/CheckBalladOfHeroActiveTiming

Revision as of 12:36, 30 October 2018 by imported>Leoetlino
CheckBalladOfHeroActiveTiming
AI definition
Type Query

Returns 1 if the Ballad of Heroes quest should be activated for the first time (2 if the player is in the Shrine of Resurrection), and 0 otherwise.

  • If the current map is not MainField, or if aocManager::sInstance->version < 0x300, return 0.
  • If at least one Divine Beast has not been completed (i.e. if the xxx_Relic_Finished flag is false), return 0.
  • If the quest has already been activated (i.e. if BalladOfHeroes_Activated is true), return 0.
  • If the player is in the final boss sequence (i.e. if IsPlayed_Demo146_0 is true), return 0.
  • If the player's current location is the Shrine of Resurrection ("StartPoint"), return 2, otherwise return 1.

Derived definitions

CheckBalladOfHeroActiveTiming (EventSystemActor)

No overridden parameters.