Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Volcan on Sun 20/07/2003 04:09:42

Title: variable = current room
Post by: Volcan on Sun 20/07/2003 04:09:42
I'm working on a personal gui. Character Test is used with my gui.

There is a variable for current room like

character[TEST].room = current.room;


I can do it at the moment with

character[TEST].room = x;

x = where the room uses my gui.

But it could be simpler if I use a variable as current room.

Thanks in advance


Volcan
Title: Re:variable = current room
Post by: Pumaman on Sun 20/07/2003 17:54:38
character[GetPlayerCharacter()].room

is the current room
Title: Re:variable = current room
Post by: Volcan on Sun 20/07/2003 19:16:14
Thanks.

It works.

Volcan