ID:179344
Jan 18 2002, 1:11 pm
|
|
Alright ive gotten some of the verbs ive wanted up.And like u said Nandrew i tried to turn that code into a verb(im a total idiot)i;m gonna read the faq and guid as soon as i can.I was just askin if u could just give me the teleport code(i have a friend comin over and i wanted too add that)you dint have to.Just 1 thing besides that.I need some 1 who can draw good icons.
|
Copyright © 2024 BYOND Software.
All rights reserved.
Teleporting is pretty easy, just modify an object's location either using loc = locate(), or Move(). Here's some examples:
mob/verb/teleloc()
usr.loc = locate(1,1,1)
mob/verb/telemove()
usr.Move(locate(1,1,1))
The big difference is that using Move() will cause the Enter, Entered, Exit, and Exited procs to call when you move the object. Setting loc won't do any of that, it just changes the location of the object.