Quote:
Say Nick, Do you have any suggested code of some sort in some ressorce ?
Well, since someone mentioned mpsleep, I did what I normally do in this situation and did a Google on that word. There are quite a few hits, the first one on this site (!) so the subject has come up before on this forum. Try that, and see what you find. There will be links to the snippet.
However I repeat my warnings about attempting this. I gather that if the player's name is not Sam you want them to go:
west
northwest
south
I can see a number of problems with this ...
- During the delay they may move, making them not go where you intended.
- Once they have moved one room (west) they are no longer in the room with the room program which makes them move, or the mob program, and thus they are out of range anyway of the script.
- Personally I would find it very annoying if a script started slowly moving me around. For example, I enter the room and it moves me west, so I think "hang on, I am looking around!" - so I got back east. Then it moves me northwest, and I start getting really annoyed. So I move back again. Then it moves me south and I start getting ready to complain to the admins that their game has a bug.
|