ID:180398
 
Ok Ive been trying and get no erros on compile but it just wont work

verb/teleport(M as mob in world)
usr << "teleporting to [M]"
usr.Move(locate(M))

Wats wrong?
On 7/6/01 2:14 pm DoOmBringer wrote:
Ok Ive been trying and get no erros on compile but it just wont work

verb/teleport(M as mob in world)
usr << "teleporting to [M]"
usr.Move(locate(M))

Wats wrong?

try...

verb/teleport(mob/M as mob in world)
usr << "Teleporting to [M]..."
usr.loc = M.loc
In response to Foomer
On 7/6/01 2:25 pm Foomer wrote:
On 7/6/01 2:14 pm DoOmBringer wrote:
Ok Ive been trying and get no erros on compile but it just wont work

verb/teleport(M as mob in world)
usr << "teleporting to [M]"
usr.Move(locate(M))

Wats wrong?

try...

verb/teleport(mob/M as mob in world)
usr << "Teleporting to [M]..."
usr.loc = M.loc

Still won't work...the verb doesn't belong to anything.

How about:

mob/verb/teleport...
In response to Deadron
On 7/6/01 3:01 pm Deadron wrote:
On 7/6/01 2:25 pm Foomer wrote:
On 7/6/01 2:14 pm DoOmBringer wrote:
Ok Ive been trying and get no erros on compile but it just wont work

verb/teleport(M as mob in world)
usr << "teleporting to [M]"
usr.Move(locate(M))

Wats wrong?

try...

verb/teleport(mob/M as mob in world)
usr << "Teleporting to [M]..."
usr.loc = M.loc

Still won't work...the verb doesn't belong to anything.

How about:

mob/verb/teleport...


I prefer to assume they have that in already...