obj
hoix7 // WARP TURF TO HOIX7
icon = 'towns.dmi'
icon_state = "hoix7"
New()
..()
walk_rand(src, 20)
Enter(mob/M)
M.loc = locate(3,1,2)
When I walk onto the hoix object. It just lets the mob walk over it. Im making it an obj instead of a turf because I guess walk_rand() does not comply with turfs. Any solution?
ID:147334
Jun 29 2004, 5:40 pm
|
|
Unfortunately the player doesn't Enter() the object when they walk over it. The player only Enter()s the turf.
Two possible ways to resolve your problem are having the turf's Enter() proc call another proc for certain objects(like your warp) if the warp is on the turf, or making your warp dense, and using Bump() to check if the player bumps into it.