obj/Click()
for(var/mob/npcs/Pet/B in world) //Pet in world,
if(B.Owner == "[usr]") // Check if its your pet
if(B.Frozen) //Check if there frozen
return
if(B.Targeter == "[usr]") //Check if there is a mob Targeted,
walk_towards(B,src) //Walk towards the clicked point.
return // << This is where I want it to stop , And not continue.. But,
else // This is probebly the problem where the rest of the group decides to move
if(B.Owner == "[usr]") //Same check as before ect ect
walk_towards(B,src)
else
return
How my code works, For those picky about not helping even though I dont believe it is needed to explain in this situation, But, Targeteing the Pet mob Changes its Variable so ''usr'' is Its Targeter, And frozen is obviously something that stops movement, Once again. Thanks for any help anyone can give - Keiron.
Think that's what you're after anyway?