mob
proc
startbattle(mob/M1)
for(var/turf/battleloc/B in world)
if(B.inuse==0)
usr.loc=locate(B)
M1.loc=locate(usr.x,usr.y+5,usr.z)
return
turf
battle_grass
icon='battlegrass.dmi'
Entered(mob/M)
if(prob(25))
src<<"You just got into a battle."
var/M1
M1=new/mob/monster/Slimer
M.startbattle(M1)
return
else
return
Problem description:thats what ive gotten so far (plus i have the monster) when the battle initiates i get transported to a black area allthough on my map ive got the battleloc right where its supposed to be, so why aint my charactor and the monster getting transported there? also if your thinking thats from a ib or demo, your mistooken i made it myself and thats why its not fully done yet, i just started on it this morning.
Thanks for your help (in advance if anyone does help)
that should work