public EntityAIFollowOwner(EntityTameable par1EntityTameable, float par2, float par3, float par4)
 {
     ThePet        = par1EntityTameable;
     TheWorld      = par1EntityTameable.WorldObj;
     Field_48303_f = par2;
     PetPathfinder = par1EntityTameable.GetNavigator();
     MinDist       = par3;
     MaxDist       = par4;
     SetMutexBits(3);
 }
 /// <summary>
 /// Execute a one shot task or start executing a continuous task
 /// </summary>
 public override void StartExecuting()
 {
     Field_48310_h = 0;
     Field_48311_i = ThePet.GetNavigator().Func_48658_a();
     ThePet.GetNavigator().Func_48664_a(false);
 }
Esempio n. 3
0
 /// <summary>
 /// Execute a one shot task or start executing a continuous task
 /// </summary>
 public override void StartExecuting()
 {
     TheEntity.GetNavigator().ClearPathEntity();
     TheEntity.Func_48140_f(true);
 }