View Single Post
  #12  
Old 12-07-2001, 06:49 AM
LilNiglet LilNiglet is offline
Registered User
Join Date: Jun 2001
Posts: 3,178
LilNiglet is on a distinguished road
Quote:
Originally posted by Stefan
There is the 'move' command or do you mean
moving the player?
He kinda means this, Stefan.

Say I want to move a NPC OR player to 32,46. All I would have to do is use a command called movenpc, or moveplayer.

NPC Code:

if (strequals(#c, go now)){
movenpc 32,46;
}



and then the NPC would go straight to 32,46, through any NPCs or blocking tiles in the way. Of course, you could use a command kind of like the options thing in move. Like, you could do blockcheck and stuff like that.

NPC Code:

if (strequals(#c, go now)){
movenpc 32,46,2;
}

Reply With Quote