Moving an NPC to a room

Started by deedee, Sun 22/02/2004 23:37:57

Previous topic - Next topic

deedee

I'd like to know if there is a way to move a NPC to a specific room and specific room coordinates.
There can be only one.

Scorpiorus

Put in use appropriate global variabls.

The following lines...

character[NPC].x = 100;
character[NPC].y = 200;
character[NPC].room = 4;

will move NPC to room 4, x=100 and y=200.

~Cheers


SMF spam blocked by CleanTalk