Table of Contents

Method RunAroundInAreaAndAttack

Namespace
GrindFest.BotApi
Assembly
GrindFest.dll

RunAroundInAreaAndAttack()

Makes your hero run around and attack enemies in the area

public bool RunAroundInAreaAndAttack()

Returns

bool

Returns true if the hero is currently engaged in attacking an enemy, false if the hero is running around.

Remarks

This method first attempts to attack the nearest enemy. If no valid attack target is found, the hero will move around within the defined area. This creates a patrol-and-engage behavior pattern.