Hello! I was trying to write a script for dialog system from this tutorial: And an error occurred. I don't really know how to fix this, so I'm sending it to you.
Here's the script for an NPC
The message just says that it can't find the method you specified in the object you specified. Click on the little green arrow left of the method, and make sure the connection settings are valid. In this case, the source and target should be the same.
duane Alright, I needed to reload the tscn with NPC. But there is one more issue, this time in DialogBox code, following the tutorial it seems that everything should be okay, there's something wrong in 21 line.
NewbieInProgramming My guess is that you meant "TRANS_LINEAR" You put a period in there.
That function takes a PhysicsBody, not an Area2D. You might want area_entered signal or to change the parameter to a PhysicsBody.
PhysicsBody
Area2D
area_entered