this is the code for you to summon the bat.
mob/Bat
icon='Druids.dmi'
icon_state="Bat"
mob/SU
verb
Summon_Bat()
set category="Battle"
if (usr.bat<=usr.batmax)
usr<<"<font color=white><b>You summon a bat to help you."
new /mob/Bat(locate(usr.x+1,usr.y,usr.z))
and this is the code for the bat to follow you.
client
North()
if(usr:bat==1)
step(usr,NORTH)
walk_to(usr,usr.loc,1,1)
return
else
step(usr,NORTH)
return
South()
if(usr:bat==1)
step(usr,SOUTH)
walk_to(usr,usr.loc,1,1)
return
else
step(usr,SOUTH)
return
East()
if(usr:bat==1)
step(usr,EAST)
walk_to(usr,usr.loc,1,1)
return
else
step(usr,EAST)
return
West()
if(usr:bat==1)
step(usr,WEST)
walk_to(usr,usr.loc,1,1)
return
else
step(usr,WEST)
return
(I got that from GreenLimes Petting Zoo Demo)
But instead of it moving it just sitds there
mob/verb/SummonBat()
var/mob/M = new/mob/Bat(locate(src.x+1,src.y,src.z))
walk_to(M,src,1,0)
That should work, tell me if it doesn't. ALso tell me if that is not what you wanted.