Example #1
0
 //Tick is called not every frame
 public void Tick()
 {
     //Always run combat tick
     CombatAI.Tick();
     //Only run tasks while not in combat
     if (!CombatAI.InCombat)
     {
         TaskAI.Tick();
     }
 }
Example #2
0
    //Tick is called not every frame
    public void Tick()
    {
        //Always run combat tick
        CombatAI.Tick();
        //Only run tasks while not in combat
        if (!CombatAI.InCombat)
        {
            TaskAI.Tick();
        }


        // Entity.GetLoadedEntity().SpeechBubble.SetText(ToString());
    }