Bump(mob/m)
if(ismob(m)) Attack(m)
if(istype(m,/turf/door))
usr=src
m:Open()
Problem description:
This gives me the error "m/:/Open(): undefined proc"
This seems mildly strange to me. Any idea why? In the meantime, I'll just define a new variable and use that, rather then taking a shortcut.
Try changing the parameter to atom/m, because:
[EDIT]
In case you(or anyone else who stumbles across this post) didn't catch it, the compiler checks that, if the defined type itself doesn't have the proc or variable to call, at least one of the children can call it.
[/EDIT]
Hiead