Thanx for both of your replies.
That explains why the chicken was walking on the spot and the :
if (cChicken1.Moving == 0)
will also sort out the problem of when the chicken stops at the edge of a walkable area.
Now I am going to try and work out how to make the chicken move away when the player comes near it.
That explains why the chicken was walking on the spot and the :
if (cChicken1.Moving == 0)
will also sort out the problem of when the chicken stops at the edge of a walkable area.
Now I am going to try and work out how to make the chicken move away when the player comes near it.