Skip to content

Advice on dynamic choice node #358

Answered by L3MON4D3
AckslD asked this question in Q&A
Mar 28, 2022 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

if I start typing something in the insert node and then change the choice then what I inserted is gone.

Ouh, here you could use restoreNode, it allows you to keep some part of the snippet across changing choice and re-executing a dynamicNode.

I can't tell right away why changeChoice won't work the second time in either snippet, that's a bit weird.

Another way: use this to generate the entire snippet in a function, then you could use the keybinds shown in the wiki to cycle between different configurations, with minimal duplication.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@AckslD
Comment options

@AckslD
Comment options

@AckslD
Comment options

@L3MON4D3
Comment options

@AckslD
Comment options

Answer selected by AckslD
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants