ID:170898
 
I need to make a automatic floor, but I dont know how to code it. I need help I have been at this for four days.
Hmm? Could you please be more descriptive?
In response to Hell Ramen
Im trying to code in a floor that when the player steps onto it it moves them in the direction the floor is facing. (North,South,West,East)
In response to Chwgt
I did something like that when I was coding for my skateboarding game( It was just to mess around though) When I get back from skating I'll try to look that up for you.
Chwgt wrote:
I need to make a automatic floor, but I dont know how to code it. I need help I have been at this for four days.

Should be pretty simple...I am not sure if this will work but we can try it!



turf
auto
Entered(mob/M)
if(istype,(M,/mob/player))
step(M,src.dir)


This should work? I think...If not someone tell me or fix it so it does work.



--Man