Stopping the the Dialog from automatically selecting the last remaining option

Started by Tenacious Stu, Fri 07/01/2011 00:32:02

Previous topic - Next topic

Tenacious Stu

Just a quick question with dialogue.

I have a conversation where all of the options have been turned off except one.

When this dialog is started it automatically selects the last option and displays the speech without giving the player the option to choose it.

How do you stop this? So that the single option appears, and the player still has to select it in order for the speech to show?

Thanks in advance.

Dualnames

game.show_single_dialog_option=1; // If only a single dialog option is available, show it anyway (default=0)
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)

Khris

Please search the forum first, a search for "auto select last option" would have yielded this topic from a month ago as very first result.

Tenacious Stu

Sorry folks

I did try searching, but I guess the key words I used were too broad. I used the word 'Automatically', which I could easily have spelt wrong  :-[. Sorry for the inconvenience.

I'll try to search more thoroughly next time to avoid clogging the Forums.

Khris

No problem at all, I didn't want to give you the impression you did something wrong, sorry for that.
I'm not supposed to act like a mod anyway :)

Tenacious Stu

No Worries  ;D

For what its worth, my problem is now solved  ;). I put that game variable in the GlobalScript under the game_start function and now it works how I need it to. :P

SMF spam blocked by CleanTalk