blockage
icon='misc.dmi'
icon_state="rubble"
density=1
Bump()
usr<<"6474764"
Problem description:
I have bump procs used in various other parts of my code and they work fine, but apparently the proc is undifined in this section of Turf code, i cant find a way to sort it. I know its most likely simple as 125... =D
The hierarchy (family tree, per say) is as follows:
- datum
- atom
- - area
- - turf
- - atom/movable
- - - obj
- - - mob
So /area inherits anything from /atom, as it is part of the family tree, but not from /turf, /atom/movable and even datums as they are different branches.
/mob inherits properties from /atom/movable and /atom but nothing else, etc.
So, in other words, Bump() does not exist for turfs.
On the same note, you are getting two things hideously wrong here:
1) Bump() is called on the object that bumped into something, NOT on the person who was bumped... if you want something to be called from a bumped object, you need to define a custom procedure for it ([link]).
2) Never ever, EVER use usr in movement-associated procedures. As they are all called indirectly, usr will lead to very strange, and often annoying-to-pin-down problems!
Know when and why to use usr!
http://www.byond.com/members/ DreamMakers?command=view_post&post=35932