Taking a value from dropdown choice, to determine next dropdown node
i uhh, not quite sure how to put it into words but so be it.
i'm trying to make a dropdown with several choice, here's thecode
extends Control export (NodePath) var dropdown_path onready var dropdown = get_node(dropdown_path) func _ready(): #add items add_items() #add items to dropdown func add_items(): dropdown.add_item("Subjugate") dropdown.add_item("Collect") dropdown.add_item("Escort") dropdown.add_item("Safe Guard") get_node(add_items()).print(add_items())
what i want to ask is, i want a certain premade dropdown to appear based on player first choice.
for example, if player choose to "collect", then a dropdown with a choice of item will appear, but if player choose to "subjugate", then a dropdown of list of enemies will appear instead.
tried several ways to take the value, but something is amiss.
Any insight is highly appreciated.