I have no idea what this means, I've never seen this warning and I can't find anyone else that's had it.
" parseconnections: Condition "!common_parent" is true. Continuing. "
func _on_Toy_btn_pressed():
var x = range(0,10)
var highlight = Button.new()
var empty = StyleBoxEmpty.new()
highlight.rect_min_size = Vector2(100,100)
highlight.set('custom_styles/normal', empty )
highlight.connect("pressed",pet,"_praise",["toy","doll"],2)
highlight.connect("pressed",self,"_clean_up",[highlight.get_instance_id()],2)
var highlighted = PackedScene.new()
highlighted.pack(highlight) #--------------This is where my error is.
for c in x:
$Inv_GUI/inv_cont.get_child(c).add_child(highlighted.instance())
continue
This only happened after I added the enum flags (2)
at the end of my signals
, in an attempt to keep the buttons
working after the scene is packed for instancing
. Before that, my signal connect
weren't working at all.