Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Raggit on Wed 09/03/2005 03:09:14

Title: This can't be! (Setting new XY coordinates for NPC's changing rooms)
Post by: Raggit on Wed 09/03/2005 03:09:14
Um.  This just seems too weird.  I've got an NPC moving to a new room.  The player character goes along with him.  Sure, it's easy to set the starting coordinates for the player in that new room, but isn't there a way to set them for the NPC?

I'm using an older Windows XP version of AGS.  But I can't imagine it not having this simple capability.
Title: Re: This can't be! (Setting new XY coordinates for NPC's changing rooms)
Post by: Gilbert on Wed 09/03/2005 03:11:26
character[NPC].x=100;
character[NPC].y=50;

...