Problem arises with Move NPC to another room...

Started by JudasFm, Thu 12/02/2004 12:05:20

Previous topic - Next topic

JudasFm

(Okay, I know I've been posting a lot of help requests lately, but please bear with me; I've never tried anything like this before :))  Anyhoo...

Is there any way to move an NPC to another room at specific coordinates, like a player character?  Moving when the character enters the room isn't much good; he's supposed to be sitting at a table, and it looks a bit weird if he glides through a table and onto the bench.  Is there some kind of script I can add saying 'when you move him, move him here'?

Kweepa

Just use

character[SITTINGDUDE].x = SITTINGATTABLEX;
character[SITTINGDUDE].y = SITTINGATTABLEY;
Still waiting for Purity of the Surf II

JudasFm

 :) Thanks, that's great.  One little thing; where should I put this code?

Kweepa

You can put it in the script exactly where you move the character to the new room.
Still waiting for Purity of the Surf II

JudasFm


SMF spam blocked by CleanTalk