public StandingGuardAI(BaseCreature bc) : base(AITypes.NonAgressiveAnimalAI, bc) { // Automate reg = new Automate(); From.AIState = AIStates.Pause1; CustomBehaviours.Add(CustomBehavioursTypes.Stay); CustomBehaviours.Add(CustomBehavioursTypes.KeepOrientation); }
public StandingNpcAI(BaseCreature bc) : base(AITypes.NonAgressiveAnimalAI, bc) { // Automate reg = new Automate(); From.AIState = AIStates.Explore; // reg.RegisterAssertion( new Assert( bc.Card1 ) ); // reg.RegisterAction( new Action( bc.Start ) ); CustomBehaviours.Add(CustomBehavioursTypes.Stay); CustomBehaviours.Add(CustomBehavioursTypes.KeepOrientation); }