Reply To: Reorder MultipleChoice options

NodeCanvas Forums Support Reorder MultipleChoice options Reply To: Reorder MultipleChoice options

#11654
zsoik
Participant

Ah I see, from my experience it’s not possible to reorder the actual list of choices on the multiple-choice node. But from looking at MultipleChoiceNode.cs it should be relatively easy to implement reorder up/down buttons, as the availableChoices list just needs to be reordered.

Edit: It actually is very easy. Open up MultipleChoiceNode.cs and after

add

That does allow you to reorder the choices with two buttons, moving the choice up or down. I haven’t tested the behaviour at runtime though, maybe the connections and the attached conditions won’t get reordered properly, even though in the graph editor it all seems to be correct.