Thankyou :), yh I did plan on implementing point to point path finding but ya know game jam time pressures XD, thankyou for playing my dude, may the odds be with you.
Hobofairy
Creator of
Recent community posts
A time travelling detective game, plz vote :)
https://itch.io/jam/yogscast-game-jam/rate/536045?before=2#post-1082138
BTW I fixed it, here's the fixed version for reference:
func UpdateUI():
if curent_node_id >= 0:
if current_node_affect > 0:
AffectRecognition()
dialoguePanel.show()
for x in dialogueButtons:
x.hide()
#disconnect buttons
if x.is_connected("pressed",self,"_on_Button_Pressed"):
x.disconnect("pressed",self,"_on_Button_Pressed")
Thankyou, I love your code :)
I love this project and its worked really well so far, except one bit, For some reason I keep coming up with the error
E 0:00:25:0486 Signal 'pressed' is already connected to given method '_on_Button_Pressed' in that object.
<C Source> core/object.cpp:1476 @ connect()
<Stack Trace> DIalogueManager.gd:127 @ UpdateUI()
DIalogueManager.gd:98 @ HandleNode()
DIalogueManager.gd:89 @ NextNode()
DIalogueManager.gd:142 @ _on_Button_Pressed()
Any help would be really appreciated, thnx