So this is my first attempt at a platformer. I have a gravity proc that is called whenever you call for EAST or WEST. I wanted to make your gravity=0 whenever you entered or came in contact with the ladder, so your character will turn around and use the default NORTH action, walking upwards as if it were a top down game. However, whenever my character climbs the ladder, Gravity either isn't set back to 1 or the mob.Gravity proc isn't called in my client/West() or client/East() procs. Any help or advice?
turf
Ladder
icon='icons.dmi'
icon_state="ladder"
Entered(mob/M)
M.Gravity=0
Exited(mob/M)
M.Gravity=1
Thanks in advance!
ID:155482
Jun 23 2011, 5:08 am (Edited on Jun 23 2011, 6:00 am)
|
|
and post the results