- Joined
- Sep 11, 2015
- Messages
- 3
- Thread Author
- #1
So I have some code that looks like this:
(stepArray is just an array of Coordinates)
The problem is the RegionPath comes back null...
This is the console printout after the bot crashes:
From Eagles13's video I remember that a RegionPath can only be built in a circle around the player of 104, but that should be okay for those coordinates. I think I am misunderstanding something fundamental about Regions.
Any help would be greatly appreciated,
Thanks
Just realised this should be in "Developer Support", could someone move it there or delete this so I can post it there?
Thanks
Code:
Coordinate playerLocation = getLocal().getPosition();
System.out.println(playerLocation);
System.out.println(stepArray[i]);
RegionPath currentPath = build(playerLocation, stepArray[i]);
System.out.println(currentPath);
currentPath.step();
The problem is the RegionPath comes back null...
This is the console printout after the bot crashes:
From Eagles13's video I remember that a RegionPath can only be built in a circle around the player of 104, but that should be okay for those coordinates. I think I am misunderstanding something fundamental about Regions.
Any help would be greatly appreciated,
Thanks
Just realised this should be in "Developer Support", could someone move it there or delete this so I can post it there?
Thanks