Skip to content

Instantly share code, notes, and snippets.

@lamarmarshall
Created March 6, 2025 00:09
Show Gist options
  • Save lamarmarshall/85416bf93a7d0bb622f4ceaba0d461a9 to your computer and use it in GitHub Desktop.
Save lamarmarshall/85416bf93a7d0bb622f4ceaba0d461a9 to your computer and use it in GitHub Desktop.
godot, dialog manage, trigger dialog
func _on_body_entered(body: Node2D) -> void:
print("contacted")
body.enable_process(false)
DialogueManager.show_example_dialogue_balloon(load("res://dialogue.dialogue"), "start")
body.enable_process(true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment