Feature request: In conditions/scripts, always default to the last quest used

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
AoF
Posts: 241
Joined: Sun May 12, 2019 8:36 pm

Feature request: In conditions/scripts, always default to the last quest used

Post by AoF »

I find that I usually am working on one quest at a time. Therefore, it's two extra clicks every time I'm writing a condition to select my quest or it's entry: One click to open the drop down, one click to pick the right quest. Since I think I usually want to pick the last quest I've picked, it would be nice if the dropdown always defaulted to the last one.

If this is going to be implemented, I think it should be one shared variable between conditions and scripts. That way, if I pick a quest in a condition, it'll be preselected when I pick a quest for a script, and vice versa. Same thing applies to whether I'm picking a quest, or a quest entry.

To clarify, I'm talking about this part of the UI:
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Feature request: In conditions/scripts, always default to the last quest used

Post by Tony Li »

Good idea! I'll add it to the list.
AoF
Posts: 241
Joined: Sun May 12, 2019 8:36 pm

Re: Feature request: In conditions/scripts, always default to the last quest used

Post by AoF »

Cool, thanks.
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Feature request: In conditions/scripts, always default to the last quest used

Post by Tony Li »

This feature is in hotfix 20190614 and will be in version 2.1.8.
AoF
Posts: 241
Joined: Sun May 12, 2019 8:36 pm

Re: Feature request: In conditions/scripts, always default to the last quest used

Post by AoF »

Nice, thank you :)
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Feature request: In conditions/scripts, always default to the last quest used

Post by Tony Li »

Glad to add this one! I put together a short example for someone yesterday, and this feature already came in handy for myself.
AoF
Posts: 241
Joined: Sun May 12, 2019 8:36 pm

Re: Feature request: In conditions/scripts, always default to the last quest used

Post by AoF »

Sorry I didn't say this earlier, but consider enhancing this to apply to the wizard's first dropdown. I *think* if I selected a variable last time, I'm more likely to select a variable next time. Same goes for a quest or a quest entry. I'm not as confident that this request is the right solution to the problem, but I do know that Quest is picked by default and it's a relatively rare choice for me. I'm usually picking Variable or Quest Entry instead.
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Feature request: In conditions/scripts, always default to the last quest used

Post by Tony Li »

What do you mean by the wizard's first dropdown? I think this should already work.

For example, say I edit node 1 and use the Conditions wizard to set Variable > PlantedCrops > Is > True.

Then if I edit node 2, click "..." to open the Script wizard, and click "+", the first dropdown will start at Variable > PlantedCrops.

Currently it forgets the value when you recompile code or switch into play mode. But otherwise it should remember your last choice. In version 2.1.8, I'll extend it to remember the choice even after recompiling code or switching into play mode.
AoF
Posts: 241
Joined: Sun May 12, 2019 8:36 pm

Re: Feature request: In conditions/scripts, always default to the last quest used

Post by AoF »

Tony Li wrote: Sat Jun 15, 2019 2:48 pm In version 2.1.8, I'll extend it to remember the choice even after recompiling code or switching into play mode.
I think that's the feature I'm asking for. Thanks!
Post Reply