• Visit Rebornbuddy
  • CastObjectiveAbility Tag failing to... well Cast the Objective Ability.

    Discussion in 'Wildbuddy Support' started by NewGuyFry, Jul 27, 2016.

    1. NewGuyFry

      NewGuyFry New Member

      Joined:
      Jul 25, 2016
      Messages:
      5
      Likes Received:
      1
      Trophy Points:
      3
      CastObjectiveAbility Tag failing to... well Cast the Objective Ability.

      I have QuestHelper in the plugin folder.

      The bot works fine, right up until Skiffs in Crimson Badlands.

      It follows move commands with no problem, moves into position, runs the Skiff 3 CastObjectiveAbility, then complains it can't find a path to the Skiff, while targeting, and detargeting it over and over.


      I'm using the badlands.xml profile from Snue https://www.thebuddyforum.com/wildbuddy-forum/wildbuddy-profiles/240213-dominion-daily-profiles.html

      Skiffs 1 & 2 arn't spawned, so it skips them, moves onto 3, the IF statement finds it's there, then it attempts to use the CastObjectiveAbility and fails.

      It's facing the right way enough that all it needs to do is select the Skiff, and Press T...

      Code:
      		<MoveTo QuestId="-1" QuestObjective="-1" CreatureId="-1" MapId="2997" Range="5" X="-21772.7363" Y="-999.0105" Z="-27580.6387" NoPathfind="true" />
      Code:
      		<If Condition="CreatureExists(35981,-21699,-1002,-27591.16,5)">
      			<Echo Message="###DAILIES### ship #3" />
      			<CastObjectiveAbility QuestId="7458" QuestObjective="0" CreatureId="35981" InteractRange="100" MapId="2997" OnTargetLocation="false" RequireTarget="true" X="-21699" Y="-1002" Z="-27591.16" />
      			<Wait Time="5" />
      		</If>
      Log
      View attachment Wildbuddy 6432 2016-07-27-10.13.34.txt
       
      Last edited: Jul 27, 2016

    Share This Page