Checking if any dialog options are currently being displayed

Started by Calin Leafshade, Thu 12/08/2010 01:45:25

Previous topic - Next topic

Calin Leafshade

Is it possible to check if some dialog options are being displayed whilst in a dialog?


frogfrost

Yeah, if you have a custom renderer for your dialog, you have to iterate through each option, so then you can know which ones are being show (since you're explicitly rendering them on screen).

Calin Leafshade

hmm sorry I worded my question badly

Try again:

Is is possible to see if the dialog options are being displayed to the player.

i.e you re in a dialog but no one is talking and no other script functions are being run and its asking the player to choose an option.

Dualnames

My guess would be either script the event yourself, or just use a custom dialog GUI and repeatedly check always whether its on or not.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Atelier

You could do something with Dialog.DisplayOptions(), then set a bool to true after it's been called. Then just check that bool for whatever it is.

SMF spam blocked by CleanTalk