local LD = require("design.LevelDesignLibrary")
monitors = require("level.MonitorLibrary")
local EC = require("design.Encounter")
local son, Area_1_Encounter_1
function OnFirstStart(level)
  GameObjects.EntZn_CA_SwitchTo_Riv350:HideEntityVolume()
end
function OnScriptLoaded(level)
  son = game.AI.FindSon()
  print("Son ID", son)
end
function OnUpdate(level)
end
function OnUseWorld(level)
end
function CA_SwitchTo_Riv400()
  GameObjects.LTW_Lead.LuaObjectScript.Enable()
  GameObjects.LTW_Follow.LuaObjectScript.Disable()
  GameObjects.CA_Idle_Area2.LuaObjectScript:Enable()
  game.AI.FindSon():CallScript("EnterBehaviorContext", "LEAD_THE_WAY_BEHAVIOR_CONTEXT_CONFIG")
end
function Enable_CA()
  GameObjects.CA_Idle_Area2.LuaObjectScript:Enable()
end
function Disable_CA()
  GameObjects.CA_Up_Area2.LuaObjectScript:Disable()
  GameObjects.CA_Idle_Area2.LuaObjectScript:Disable()
end
function EnableBackTrackZone()
  GameObjects.EntZn_CA_SwitchTo_Riv350:ShowEntityVolume()
end
function LTW_SwitchToLead()
  GameObjects.LTW_Lead.LuaObjectScript.Enable()
  GameObjects.LTW_Follow.LuaObjectScript.Disable()
end
function LTW_SwitchToFollow()
  GameObjects.LTW_Lead.LuaObjectScript.Disable()
  GameObjects.LTW_Follow.LuaObjectScript.Enable()
end
function LoadCheck_Riv420()
  game.UI.LoadCheck("Riv420_ForestBoarStart")
end
function StartBreakable()
  LD.ShowFX(GameObjects.Bird_Rubble_Break)
end
