public void Stage4() { COMInvasionBoss boss = new COMInvasionBoss(); GateHide hideball = new GateHide(); hideball.AccessLevel = AccessLevel.Player; hideball.RedGate = true; boss.PlaceInBackpack( hideball ); boss.Blessed = true; boss.CantWalk = true; boss.Hidden = true; boss.MoveToWorld( new Point3D( 600, 2133, 0 ), Map.Felucca ); boss.Use( hideball ); Timer.DelayCall<Mobile>( TimeSpan.FromSeconds( 8.0 ) , new TimerStateCallback<Mobile>( Stage5 ), boss ); }
public void Stage3() { //Gate out the Mages foreach ( Tuple<COMInvasionMage,Point3D> tuple in m_Mages ) { COMInvasionMage mage = tuple.Item1; GateHide hideball = new GateHide(); hideball.AccessLevel = AccessLevel.Player; mage.PlaceInBackpack( hideball ); mage.Use( hideball ); Timer.DelayCall( TimeSpan.FromSeconds( 10.0 ) , new TimerCallback( mage.Delete ) ); } m_Mages.Clear(); Timer.DelayCall( TimeSpan.FromSeconds( 4.0 ) , new TimerCallback( Stage4 ) ); }