Moving an NPC from one room to another using specific coordinates...

Started by BerserkerTails, Tue 02/12/2003 00:21:02

Previous topic - Next topic

BerserkerTails

Is there a way to do this? Right now I'm using the code:

character[3].room = 10

Of course, this puts the character in the new room at the position it was at previously. Therefore I added a MoveCharacterBlocking for the character on the new room before it fades in, but this adds a ghastly pause while waiting for the character to move...

Thanks in advance for any help you can give me!
I make music.

quintaros (at work)

I agree that it would be nice to have a NewRoomEx for NPCs.

The workaround is to add:

character[3].x=80;
character[3].y=72;

This can go right after your character[3].room=10 command.

BerserkerTails

I make music.

SMF spam blocked by CleanTalk