I am working on the Animus Book plugin and having problems with Navigation. One problem I have is I get it to wait for fates but when the fate is too far, it misses the fate. So I simple wanted to have to move to a co-ordinate before starting the fate bot. But the navigation just runs into walls. I searched everywhere and looked at how others have done it including ***** and others. They all seems to do it differently and I am not very familiar with CreateBehavior.
Any help would be appreciated on how to get the below to work. The code is below is in my onPulse call.
TreeRoot.Stop();
sFate = GetNextSet(CurrentFateIndex);
if (Core.Player.IsMounted)
{
Actionmanager.Dismount();
Thread.Sleep(1000);
}
WorldManager.TeleportById(Fate[sFate]);
Thread.Sleep(15000);
Actionmanager.Mount();
Clio.Utilities.Vector3 Goto = new Clio.Utilities.Vector3("-510.7703, 238.454, 375.3579");
ff14bot.Enums.MoveResult Reached;
Reached = ff14bot.Enums.MoveResult.Failed;
ff14bot.Navigation.GaiaNavigator Nav = new ff14bot.Navigation.GaiaNavigator();
while (Reached != ff14bot.Enums.MoveResult.ReachedDestination)
{
Reached = Nav.MoveTo(Goto);
}
FatebotSettings fb = new FatebotSettings();
fb.ThisFateOnly = sFate;
iFateWaiting = CurrentFateIndex;
TreeRoot.Start();
Any help would be appreciated on how to get the below to work. The code is below is in my onPulse call.
TreeRoot.Stop();
sFate = GetNextSet(CurrentFateIndex);
if (Core.Player.IsMounted)
{
Actionmanager.Dismount();
Thread.Sleep(1000);
}
WorldManager.TeleportById(Fate[sFate]);
Thread.Sleep(15000);
Actionmanager.Mount();
Clio.Utilities.Vector3 Goto = new Clio.Utilities.Vector3("-510.7703, 238.454, 375.3579");
ff14bot.Enums.MoveResult Reached;
Reached = ff14bot.Enums.MoveResult.Failed;
ff14bot.Navigation.GaiaNavigator Nav = new ff14bot.Navigation.GaiaNavigator();
while (Reached != ff14bot.Enums.MoveResult.ReachedDestination)
{
Reached = Nav.MoveTo(Goto);
}
FatebotSettings fb = new FatebotSettings();
fb.ThisFateOnly = sFate;
iFateWaiting = CurrentFateIndex;
TreeRoot.Start();