extends Control export(NodePath) var labelPath export(NodePath) var continuePath signal build_body() var _playerWonLabel var _continueButton func _ready(): _playerWonLabel = get_node(labelPath) as Label _continueButton = get_node(continuePath) as Label func set_win_message(player_id): _playerWonLabel.text = "Player " + str(player_id + 1) + " is victorious!" func _on_Continue_pressed(): print("test2") emit_signal("build_body")