Hi I’m fairly new to the whole godot development thing, I’ve put a signal called “max player movement” in a script from a node in a group called “Door”
The signal connected to the function “_on_door_max_player_movement” in a different node
Everything seem to work normally but Godot keep labelling it as an error
#node 1 (from group Door)
signal max_player_movement
func _process(_float) -> void:
if Input.is_action_just_pressed("ui_interract"):
max_player_movement.emit()
#node 2 (not from group Door)
func _ready():
for door in get_tree().get_nodes_in_group("Door"):
door.connect("max_player_movement", _on_door_max_player_movement) # <- Caused error
func _on_door_max_player_movement():
cutscene = true