teleport (M)
Wait it matters?
I think it's because of the teleport proc itself....do the things in the parentheses have to match
teleport(turf/Floors/AFK_Check_Floor, mob/warper) what you put when you actually call the proc? teleport(M) |
Yeahhhh.....no I didn't lol I was being lazy and just decided to go with Akando's code.
Sorry <:D |
OO thats why your only passing one arguement.
So when you call the floor proc it is refrencing AFK_CHECK_FLOOR to M, so we need to call teleport() like: teleport(turf/floor, M) |
You could do:
teleport(mob/warper) var floor = locate(turf/Floords/AFK_Check_Floor) warpX wapY warpX = floor.x + rand(1,14) warpY = floor.y +rand(1,8) warper.loc = locate(warpX,warpY,1) world << "\white It is getting here" |
Now I'm getting more errors:
error: turf: undefined var error: Floors: undefined var error: AFK_Check_Floor: undefined var error: floor.x: undefined var error: floor.y: undefined var warning: floor: variable defined but not used teleport(mob/warper) |
do:
locate(/turf/floors/AFK_Check_Floor) also do you actually have a turf of: turf |
And yeah, I do
Thanks for putting up with me for so long :D But now I'm getting the problem that says that floor.x and floor.y are undefined |
teleport (M)
or
teleport(M)
?