1 2 3 4 5 6 7 8 9 10 11 12 13 14
extends Node var key func _ready(): self.get_parent().get_node("Viewport/GUI/Panel/TextEdit").connect( "answer_correct", self, "handle_correct" ) func handle_correct(): var apclient = global.get_node("Archipelago") apclient.setValue(key, true)