Created
March 6, 2025 00:09
-
-
Save lamarmarshall/85416bf93a7d0bb622f4ceaba0d461a9 to your computer and use it in GitHub Desktop.
godot, dialog manage, trigger dialog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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