Method RunAroundInArea
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
RunAroundInArea()
Makes the hero run around randomly within the current area.
public static void RunAroundInArea()
Remarks
This method generates random points within the current area and moves the hero to them. It includes stuck detection and automatic unstuck behavior. For combat situations, consider using RunAroundInAreaAndAttack() instead.
// Just explore the area
Hero.RunAroundInArea();
var item = Hero.FindNearestItem("Vial of Hero.Health");
if (item != null)
{
Hero.PickUp(item);
}
else
{
Hero.RunAroundInArea(); // Keep exploring until we find something
}