Skip to content

Help using restore nodes inside recursive dynamic node #473

Answered by L3MON4D3
cydmium asked this question in Q&A
Discussion options

You must be logged in to vote

Oh, one immediate problem (not completely sure if that is exactly what's going on here, but it could definitely lead to bugs) I can spot is that only one restoreNode with a given key may be visible at any time, so you'd have to somehow generate a different key for each depth.

I don't think that's easy to do, so I'll instead recommend the dynamicNode with user input, which makes these recursive-choiceNode cases much cleaner and easier to handle (although it requires a bit of code for setup)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cydmium
Comment options

Answer selected by cydmium
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