ID:145956
 
Code:
    Hide(obj/j in oview(1))
if(usr.IT)
return
else if(j.hide)
usr.Move()=locate(j.x,j.y)


Problem description: I know tghe Move() should be loc, but I want the user the step in the target, not "blink" to it... Help?

Mysame wrote:
Code:
    Hide(obj/j in oview(1))
> if(usr.IT)
> return
> else if(j.hide)
> usr.Move()=locate(j.x,j.y)
>

Problem description: I know tghe Move() should be loc, but I want the user the step in the target, not "blink" to it... Help?


    Hide(obj/j in oview(1))
if(usr.IT)
return
else if(j.hide)
usr.Move(locate(j.x,j.y,j.z))
In response to Hazman
Thanks, but now euhm.. Yeah..

runtime error: Maximum recursion level reached (perhaps there is an infinite loop)
To avoid this safety check, set world.loop_checks=0.
verb name: Hide (/mob/verb/Hide)
usr: Mysame (/mob)
src: Mysame (/mob)
call stack:
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
...
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Mysame (/mob): Hide()
Shutting down after encountering too many critical errors.

If ya want, I could send ya da code if you've got MSN... (AIM+Gtalk unavailable on this comp)
In response to Mysame
Are you calling Hide() in Move()?
In response to Hazman
I don't do a thing to the Move() proc, and the Hide() proc is the same as the one you posted o.O
In response to Mysame
loc would probably have made the user 'step' into the target anyway. I don't know what the problem is. If you bump an obj, does it make you hide in it?
In response to Hazman
Nope, if you use the verb. And loc teleports you to it, people need to see you "walk" in it (Ex, Freeze Tag by Gunbuddy13)