I've connected a signal between DialogueTrigger (an Area2D) and Player (KinematicBody2D):
if (body.get_parent().get_name() == "Player"):
so that when the Player moves into the collisionshape2D of DialogueTrigger, the Dialogue PopupPanel would show up. However, nothing happens when the Player runs into that area. I have tried signalling to the root Node instead but this results in "script inherits from native type reference so it cant be instanced in the root node".
Anybody got any clues with this?
(the error sign next to the PopupPanel is just saying that it will be invisible unless popup() is called.)