ID:176776
Dec 12 2002, 1:17 pm (Edited on Dec 12 2002, 2:04 pm)
|
|
How would I make it so when you succefully tame an animale that it follows you around?
|
Dec 12 2002, 1:41 pm
|
|
is there away to do this?
|
In response to Koolguy900095
|
|
Yes, but you aren't getting an answer because you bumped the topic. ALso, because your question was very, very vague.
|
In response to Koolguy900095
|
|
In response to Weedman
|
|
and dont click the exe file that is with it. delete it. My scanner tells me its a virus.
|
In response to Garthor
|
|
Garthor wrote:
your question was very, very vague. Not really, he just asked how you would make an animal that youve tamed follow you around. Simplified: How do I make something follow a player? He didnt ask for a system to tame it. I agree with you on the bumping thing though, so he'll have to search around the forum's for his answer. -DogMan |
If the player moves then you move the animal to the player's location, and then move the player.
<code> mob/Move() animal.loc = src.loc ..() </code> You of course would need some way to reference the animal, but that code would make them follow you. If the player bumps something, the animal still moves to the player's location, that may be an undesired effect. |
In response to Weedman
|
|
ok thanks
|
In response to OneFishDown
|
|
thanks :)
|
In response to Dog Man
|
|
I understand the need to protect original coding...but sometimes I wonder if coder's...including myself don't get too overprotective...Afterall, knowledge is only as good as the people you share it with...Anyways...I just think small snippets of code like in this forum really shouldn't matter...Give a tidbit of code to someone, and just perhaps they might get interested - or perhaps they'll take it and run, but who knows, maybe they just needed to know how to do one thing they didn't know how to do...Anyways...talking in circles...I'm exhausted...and I think my toes bleeding...damn school
|