public void SetNewSpot(Location location) { SpotToHit = location; _path = PathProfile.FindShortsPath(ObjectManager.MyPlayer.Location, location); _currentWaypointIndex = 0; GrindingEngine.Navigator.SetDestination(location); }
public GrindingNavigation(PathProfile pathProfile) { PathProfile = pathProfile; SpotToHit = pathProfile.GetSubProfile().GetNextHotSpot(); _currentWaypointIndex = 0; _path = pathProfile.FindShortsPath(ObjectManager.MyPlayer.Location, SpotToHit); SetNextWaypoint(); }
public void UseNextNearestWaypoint() { _path = PathProfile.FindShortsPath(ObjectManager.MyPlayer.Location, SpotToHit); _currentWaypointIndex = 0; }
public void Reset() { SpotToHit = PathProfile.GetSubProfile().GetNextHotSpot(); _path = PathProfile.FindShortsPath(ObjectManager.MyPlayer.Location, SpotToHit); _currentWaypointIndex = 0; }