Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: emma_north1 on Fri 17/10/2008 11:16:32

Title: Problem With Display Function. Error Message "Invalid GUI" [SOLVED]
Post by: emma_north1 on Fri 17/10/2008 11:16:32
I read another thread (below) about this but what they're saying doesn't work for me.

http://www.adventuregamestudio.co.uk/yabb/index.php?topic=34787.0


When I use the Display function, which I'm sure I'm doing right, when I run the game and click on the item I get "Invalid GUI specified as text window". However the custom GUI window is set to 0, so where am I going wrong? I've done exactly what the tutorial shows but mine doesn't work.


Here's the format that I'm using:

Display("There is a door here.");
Title: Re: Problem With Display Function. Error Message "Invalid GUI"...
Post by: Khris on Fri 17/10/2008 11:39:02
This usually happens if there are no GUIs at all.
Just create a new GUI, then test the game again.
Title: Re: Problem With Display Function. Error Message "Invalid GUI"...
Post by: emma_north1 on Fri 17/10/2008 11:51:20
That's great, thanks!