• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • BoiPoi help

    Discussion in 'Honorbuddy Support' started by skumi, Apr 1, 2014.

    1. skumi

      skumi New Member

      Joined:
      Sep 27, 2010
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      0
      hello,

      i want to switch the current target,
      i have it in WoWUnit newtarget;


      what i do is:
      Code:
      BotPoi.Clear();
      BotPoi.Current = new BotPoi(newtarget, BotPoi.Current.Type);//PoiType.None); // PoiType.Kill -- tried all Poi types
      newtarget.Target(); 
      and honorbuddy changes the target, but not for long
      in singular i see code:

      Code:
      unit = BotPoi.Current.AsObject.ToUnit();
                                          if (Unit.ValidUnit(unit, showReason: true ))
                                          {
                                              if (StyxWoW.Me.CurrentTargetGuid != unit.Guid)
                                                  Logger.Write(targetColor, "Switching to BotPoi: " + unit.SafeName() + "!");
      
      
      which switches back to the previous target

      help please and thanks in advance :)


      edit: i am using questing botbase, guess its setting the targets
       
      Last edited: Apr 1, 2014
    2. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      if you need help with programming then use the developers section.
       

    Share This Page