ring out in Developer Help
|
|
ok, im attempting to make a fighting dragonball z game that has to do with the world tournament. I want it so if they walk out of the ring they will lose the battle. But I also want it so that if they are flying then they can go outside the ring without losing. I can pretty much figure out the second part but im having trouble with the first part. Could anyone help me out? I'm baffled :P
|
turf/out
Enter(mob/m)
if(istype(m,/mob))//always good to check
if(m.flying !0)//they are flying
..()//continue as normal
else
src.lose()/*or src.whatever the proc that makes them lose is called()*/
That should work
any errors, check the indentation, it might be a bit off