Exemplo n.º 1
0
 static void Drawing_OnEndScene(EventArgs args)
 {
     if (P1.X != 0)
     {
         Utility.DrawCircle(P1.To3D(), 100, Color.Red);
     }
     if (P2.X != 0)
     {
         Utility.DrawCircle(P2.To3D(), 100, Color.Red);
     }
     if (P3.X != 0)
     {
         Utility.DrawCircle(P3.To3D(), 100, Color.Red);
     }
     if (P4.X != 0)
     {
         Utility.DrawCircle(P4.To3D(), 100, Color.Red);
     }
     if (P5.X != 0)
     {
         Utility.DrawCircle(P5.To3D(), 100, Color.Red);
     }
 }
Exemplo n.º 2
0
 private static void Game_OnGameUpdate(EventArgs args)
 {
     if (Config.Item("BombFormation").GetValue <KeyBind>().Active)
     {
         Pentagon();
         if (R.IsReady())
         {
             if (P1.X != 0)
             {
                 ObjectManager.Player.IssueOrder(GameObjectOrder.MoveTo, P1.To3D());
             }
             else
             {
                 if (P2.X != 0)
                 {
                     ObjectManager.Player.IssueOrder(GameObjectOrder.MoveTo, P2.To3D());
                 }
                 else
                 {
                     if (P3.X != 0)
                     {
                         ObjectManager.Player.IssueOrder(GameObjectOrder.MoveTo, P3.To3D());
                     }
                     else
                     {
                         if (P4.X != 0)
                         {
                             ObjectManager.Player.IssueOrder(GameObjectOrder.MoveTo, P4.To3D());
                         }
                         else
                         {
                             if (P5.X != 0)
                             {
                                 ObjectManager.Player.IssueOrder(GameObjectOrder.MoveTo, P5.To3D());
                             }
                         }
                     }
                 }
             }
         }
     }
     if (Config.Item("ResetFormation").GetValue <KeyBind>().Active)
     {
         Reset();
     }
 }