Table of Contents

Class IsolatedHero

Namespace
GrindFest.Isolated
Assembly
GrindFest.dll
public abstract class IsolatedHero
Inheritance
object
IsolatedHero

Fields

CurrentArea
Health
HeroId
MaxHealth

Methods

AttackNearestEnemy(int)

Attack the nearest enemy

BuyStat(Stat, int)
DrinkHealthPotion()

Start drinking a health potion if the hero has one

Equip(ItemBehaviour)

Equip an item, picking it up if necessary

FindItemInInventory(string, bool)

Finds an item in the inventory by name

FindNearestEnemy(float)
FindNearestItem(string, string, string, float)
Follow(GameObject, float)
FollowCursorAndAttack()

Makes your hero follow your mouse cursor and attack nearest enemies in a way

FollowFlags(Color)

Follow the flags of a certain color

GetRandomPointInArea()
GoTo(Vector3, float)
GoToAnd(Vector3, float, Func<bool>)
GoToAndAttack(Vector3, float)
GoToArea(string)
HasHealthPotion()
HasManaPotion()
HealthPotionCount()
LookAt(InteractiveBehaviour)
OpenInventory()
PickUp(ItemBehaviour)

Pick up an item, moving to it if necessary

ResetFlags()
RunAroundInArea()

Makes the hero run around randomly within the current area.

RunAroundInAreaAndAttack()
RunAwayFromNearestEnemy(float)
RunInDirection(Direction)
Say(string)
SayTo(string, Transform)

Say something

SetCurrentArea(AreaBehaviour)
SetHealth(int)
SetId(int)
SetMaxHealth(int)