Bump not working in Developer Help
|
|
Code:
obj/door icon = 'door.dmi' icon_state = "closd" density = 1 Bump(mob/M) icon_state = "open" density = 0 sleep(20) icon_state = "closd" density = 1
|
Problem description:
The bump doesn't do anything, I've tried using procs, but still no effect.
|
What you want is the self-defined Bumped():
http://www.byond.com/members/Jtgibson/forum?id=275#275
(Place the snippet in your source then change Bump() to Bumped() in the snippet you have shown)