• Visit Rebornbuddy
  • Auto Follow: DefaultCombat Routine

    Discussion in 'Community Developer Forum' started by goldknight, Sep 12, 2015.

    1. goldknight

      goldknight Member

      Joined:
      Sep 23, 2014
      Messages:
      41
      Likes Received:
      0
      Trophy Points:
      6
      So I am trying to implement out of combat auto-follow, of a group member. Trying to use the focus target object

      I'm adding some logic in the helper section, for rest.cs

      I'm basically using the moveto companion to rez logic, but I wanna move to a group member.

      Why doesn't this work?

      private static Composite FollowLeader
      {
      get
      {
      return new PrioritySelector(
      new Decorator(ret => Me.FocusTargetIsActive,
      new PrioritySelector(
      Spell.WaitForCast(),
      CommonBehaviors.MoveAndStop(location => Me.FocusTarget.Position, 0.2f, true)

      ))
      );
      }
      }


      I'm a nub developer, but do I need to create a private var for forcustarget or something..

      I just wanna follow a group member out of combat lol

      Thanks for any help!
       

    Share This Page