Пример #1
0
	void OnReachWP(uint32 iWaypointId, bool bForwards)
    {
		ForceWaypointMove(iWaypointId+1);
		if(GetPhase() == 1 && GetCurrentWaypoint() == 39)		
		{
			_unit->Emote(EMOTE_ONESHOT_TALK);
			SetPhase(2, Awakening);
			SpawnTimer = AddTimer(100000);
		}
		ParentClass::OnReachWP(iWaypointId, bForwards);
	}
Пример #2
0
 void OnReachWP(uint32 iWaypointId, bool /*bForwards*/) override
 {
     ForceWaypointMove(iWaypointId + 1);
     if (isScriptPhase(1) && GetCurrentWaypoint() == 39)
         setScriptPhase(2);
 }
Пример #3
0
 bool IsOver() const { return GetCurrentWaypoint() >= x4_waypoints.size() - 1; }