void OnDied(UnitPointer  pKiller)
    {
		GameObjectPointer  pDoor = GetUnit()->GetMapMgr()->GetInterface()->GetGameObjectNearestCoords(-118.11f, 2161.86f, 155.678f, 18971);
		if(pDoor)		
			pDoor->SetState(0);

		ParentClass::OnDied(pKiller);
    }
	void OnDied(UnitPointer  pKiller)
	{
		GameObjectPointer  pDoor = GetUnit()->GetMapMgr()->GetInterface()->GetGameObjectNearestCoords(-129.034f, 2166.16f, 129.187f, 18972);
		if(pDoor)
			pDoor->SetState(0);

		ParentClass::OnDied(pKiller);
	}
Пример #3
0
	void OnDied(UnitPointer pKiller)
	{
		GameObjectPointer pContainmentSphere = _unit->GetMapMgr()->GetInterface()->GetGameObjectNearestCoords( 321.012451f, 12.578364f, -16.591925f, ANOMALUS_CS );
		if( pContainmentSphere != NULL )
			pContainmentSphere->SetState(1);
	
		ParentClass::OnDied(pKiller);
	};
Пример #4
0
	void OnDied(UnitPointer pKiller)
	{
		GameObjectPointer pContainmentSphere = _unit->GetMapMgr()->GetInterface()->GetGameObjectNearestCoords( 282.852997f, 12.378636f, -16.594494f, ORMOK_CS );
		if( pContainmentSphere != NULL )
			pContainmentSphere->SetState(1);

		ParentClass::OnDied(pKiller);
	};
Пример #5
0
	void OnDied(UnitPointer pKiller)
	{
		GameObjectPointer pContainmentSphere = _unit->GetMapMgr()->GetInterface()->GetGameObjectNearestCoords( 284.700287f, -25.500309f, -16.606443f, TELESTRA_CS );
		if( pContainmentSphere != NULL )
			pContainmentSphere->SetState(1);

		ParentClass::OnDied(pKiller);
	};
	void OnDied(UnitPointer mKiller)
     {
   GameObjectPointer  pDoor = _unit->GetMapMgr()->GetInterface()->GetGameObjectNearestCoords(1173.01f, 1389.91f, 31.9723f, 104600);
   if(pDoor == 0)
   return;

   // Open the door
   pDoor->SetState(0);
       
   RemoveAIUpdateEvent();
     }