hey how do i make a room??? So when they walk in a door they enter a room? thx
- Akarat
ID:178670
Apr 18 2002, 5:45 pm
|
|
In response to NilFisk
|
|
NilFisk wrote:
turf/Door() Dont you need some type of mob defining there so when an obj gets droped on that area it doesnt get sent to the location. |
In response to Green Lime
|
|
i was just pointing out how to teleport to the room, thats all, if you want it so NPCs cannot teleport on it, do this
turf/door Entered(mob/M as mob) if(!M.client) return..() else M.loc=locate(your,room,here) i think thats right, not sure. |
In response to NilFisk
|
|
NilFisk wrote:
i was just pointing out how to teleport to the room, thats all, if you want it so NPCs cannot teleport on it, do this Yes, that's much better than your original code. (Putting usr in Entered() is a big no-no.) Lummox JR |
Entered()
usr.loc=locate(your,room,here)