I have made this but i can't ge it to work can some one plz help me to make a pet code were u get a pet and it follows you
got frustrated and deleted it :(
So plz help
Unix
ID:150109
Dec 11 2001, 9:33 am
|
|
Well, you could try something along these lines:
That ought to give you some of the basics. To make an animal your pet, set its owner var to your mob, and add it to your mob's pets list. It will move whenever you do. If you find step_to() doesn't work well enough, try Deadron's PathFinding library.
Lummox JR