Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: mishels on Sun 01/10/2006 14:44:02

Title: How do I remove a dialog option from the editor?
Post by: mishels on Sun 01/10/2006 14:44:02

This is embarresing, I can add new options to a topic by clicking the 'new option' button, but what if I added a few more options than I needed? Am I destined to see them empty there for the rest of the games development life?

I guess I can restore to a backup of the game fiiles but this is stupid, there must be something I am not seeing here...
Title: Re: How do I remove a dialog option from the editor?
Post by: Scummbuddy on Sun 01/10/2006 14:46:42
Nope. You can either overwrite it, or leave it blank. Sorry. It's just a feature that isn't highly needed on the ToDo List.
Title: Re: How do I remove a dialog option from the editor?
Post by: mishels on Sun 01/10/2006 14:56:15
Ok, I should be carefull next time.
It just really bugs my eye to see it like this.

Good thing I have backups...

Thanks.
Title: Re: How do I remove a dialog option from the editor?
Post by: SilverWizard_OTF on Sun 01/10/2006 17:23:02
It is little not-nice to see it, but there isn't any damage to your game:) If you click "don't show" option, then they won't affect anything in your game.
Title: Re: How do I remove a dialog option from the editor?
Post by: Buckethead on Mon 02/10/2006 14:51:28
soo there is no way you can disable a dialog option ? Not even by using scripting?  :-\  I find it a little weird that there is a script to add new options but not to remove them.  ???
Title: Re: How do I remove a dialog option from the editor?
Post by: Ashen on Mon 02/10/2006 15:04:09
To clarify:
Disabling them so they don't appear in-game, you can do. Use SetDialogOption / Dialog.SetOptionState (depending on what version you use), or just un-check the 'Show' box for the option(s) you don't want to use. You just can't delete them from the editor (where scripting can't ever effect things anyway).
However, as SilverWizard said, there's no actual harm in having un-used options, it just looks a bit messy. Because of this (as Scummbuddy said) it's a fairly low priority feature to add.
Title: Re: How do I remove a dialog option from the editor?
Post by: Global Lint on Mon 02/10/2006 21:32:13
So let me get this straight-- you can have as many options in the game as you want?  There's no limit?
Title: Re: How do I remove a dialog option from the editor?
Post by: Ashen on Mon 02/10/2006 22:00:09
No, there are limits.
From the manual (http://www.adventuregamestudio.co.uk/manual/System%20limits.htm):
Quote from: The Manual
   500  dialog topics
   3000  dialog-script messages
   30  options per topic