ID:157961
 
I am just working with the iso feature and I was wondering how to get the user to appear as if it is on the wall when entering the same spot.. I know its adding to the pixel z but .. enter doesnt seem to be working .. .

obj
SolidWall
name = "TheVerse"
icon = 'ObjectOne.dmi'
icon_state = "SolidWall"
Entered(mob/player/M)
M.pixel_z+=15
Exit(mob/player/M)
M.pixel_z -= 15
The problem is that a mob isn't considered to be entering an obj unless you call mob.Move(obj). Instead, when a mob uses the default movement procs, they will be entering the turf the obj is located on. A simple workaround would be something like:

obj/PsuedoTurf
proc/FakeEntered(atom/movable/A)
proc/FakeExited(atom/movable/A)

turf/Entered(atom/movable/A)
..()
for(var/obj/PsuedoTurf/O in src)
O.FakeEntered(A)

//almost the same for turf/Exited()
In response to Jeff8500
Thanks alot.