Files
Dawn-Godot/overworld/map/TestMap.gd
T
2026-06-11 19:59:31 -05:00

11 lines
393 B
GDScript

extends Node3D
func _ready() -> void:
# Assign dialogue resources after the plugin has imported the .dialogue files.
# Once the DialogueManager plugin is enabled in the editor, you can assign
# dialogueResource directly in the Inspector instead.
var npc:Entity = $NotPlayer
if npc:
npc.dialogueResource = load("res://dialogue/npc/test.dialogue")
npc.dialogueTitle = "start"