Creating a Display GUI box

Started by IdleHands, Sun 25/05/2008 18:40:14

Previous topic - Next topic

IdleHands

Hello there, I'm new to the forum and scripting, and was hoping for some help. I've tried searching for a solution but failed to find one (though this may be due to searching with incorrect technical terms, so I apologise if I've missed the obvious). Anyways...

I've created a new game from the empty template, as I knew I'd just replace everything anyways. But when I try to use the Display("msg") command it says it needs a GUI, ah didn't think of that when I started. So I was wondering how you make a GUI for the text display command, I've read the Quit GUI tutorial but am still lost on how to apply it to the display command.

Any help would be apprieciated, sorry if it doesn't make a lot of sense (probably due to me using incorrect terms).

skuttleman

In the general settings, there should be an option called "Custom text windo GUI". Set that to 0, and AGS should use a built-in GUI when calling the Display function.

IdleHands

It's already set to that, it may be because it's an empty template there are absolutely no GUI's to use. But you've at least led me to "Always display text as speech" which I can use. Thanks!

hedgefield

I encountered the same problem today, so I thought I'd post the solution if anyone else has had this problem too.

If you start with the empty game template, create at least ONE gui. You don't even have to use it - you can just make one and turn it off, but apparently you need at least one gui in your game for the built-in text window to work.

SMF spam blocked by CleanTalk