Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: MurrayL on Mon 03/12/2012 16:24:38

Title: Current room name?
Post by: MurrayL on Mon 03/12/2012 16:24:38
Is there an easy way to get the current room name ('Description' property in the editor) via script? I'd like to append it to save game names.

This may be a really obvious question, but I couldn't find anything on a quick glance through the manual. :-\
Title: Re: Current room name?
Post by: Billbis on Mon 03/12/2012 16:52:00
I think GetRoomProperty might do it: AGS online manual (http://www.adventuregamestudio.co.uk/manual/GetRoomProperty.htm)
But maybe no.
Title: Re: Current room name?
Post by: MurrayL on Mon 03/12/2012 17:42:34
Well, crap. I was hoping I wouldn't have to go through and set a new custom property for each room, but I might have to if there's no other way.