Dynamic Multiple Choice GUIs (like in QFG)

Started by rich, Tue 03/07/2007 01:32:05

Previous topic - Next topic

rich

I have a need for doing GUIs that have several buttons, namely to ask questions to NPC players. This would work just like it does in QFG. So, the GUI might have three or four buttons; each button would have a different question. My questions vary in length, unfortunately. I could very easily create a GUI manually for each set of questions, adjusting the button size to fit the questions, etc. but I am afraid that I would run out of GUIs before I was done. Like QFG, I could have many many of these boxes. Is there a way, does anyone know, for creating these boxes dynamically, like the text window is created dynamically based on the Display() command? Or does anyone know a work-around?

Thanks in advance, guys!

EDIT: I already know, by the way, about how to do the Lucas style of questions at the bottom of the screen, but I really would prefer having the questions in a GUI window.
I'm so excited!

Khris

Create a new GUI, check the "Text Window" option, set up its border.
In General settings, check "Dialog options on GUI" and enter the new GUIs number.

That way you don't have to mess around with GUIButtons and stuff but still have all the dialog options in a custom, centered GUI.

SMF spam blocked by CleanTalk