Class AutomaticHero
- Namespace
- _GrindFest.Scripts.BotApi
- Assembly
- GrindFest.dll
Base class for all bots
public abstract class AutomaticHero : MonoBehaviour
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourAutomaticHero
- Derived
Fields
Properties
Methods
- AttackNearestEnemy()
Attack the nearest enemy
- DrinkHealthPotion()
Start drinking a health potion if the hero has one
- FollowCursor()
Makes your hero follow the mouse cursor
- FollowFlags(Color)
Follow the flags of a certain color
- GetNearestEnemy(float)
Returns a list of nearby enemies
- Idle()
Called once every second
- Say(string)
Say something