Table of Contents

Method RunAroundInArea

Namespace
GrindFest
Assembly
GrindFest.dll

RunAroundInArea()

Makes the hero run around randomly within the current area.

public 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.

Basic exploration:
// Just explore the area
RunAroundInArea();
Explore while looking for items:
var item = FindNearestItem("Vial of Health");
if (item != null)
{
    PickUp(item);
}
else
{
    RunAroundInArea(); // Keep exploring until we find something
}