func _on_area_entered(area: Area2D) -> void:
print(get_path())
print(area.get_path())
even with that it still wont let me in
Attempt to call function ‘show’ in base ‘null instance’ on a null instance.
The printout. Give us the printout.
its not printing anything.
okay i had to delete something else that was keeping me from starting the game (apparently i messed up and i had to switch something to _ready) so im really sorry! Its printing now, i noticed it while implementing something else
here it is:
/root/Minigame_Map/CharacterBody2D/Area2D
/root/Minigame_Map/Door/Area2D
now its also showing this:
E 0:00:01:060 area_2d.gd:2 @ @implicit_ready(): Node not found: “../../CanvasLayer/Label” (relative to “/root/Minigame_Map/Area2D”).
Can you print again but now:
func _on_area_entered(area: Area2D) -> void:
print("Node running this script: ", get_path())
print("Node received as a signal argument: ", area.get_path())
