DIalouge_Manager Add-On Problems

Godot Version

4.6

Question

Don’t know if this is where i ask this, since this is a plug in, but ive got no where else so here i go

When using dialogue manager 3, watching the tutorial video, it gave me the error “Error at (7, 5): Identifier “DialogueManager” not declared in the current scope.” Usually, i would be able to fix this, but what im confused about is that the offical video for the plugin has the manager working, even without identifying that variable. (Beginner dialogue tutorial for Godot 4)

Did i do something wrong?

extends Area2D

@export var dialouge_resource: DialogueResource 
@export var dialouge_start: String = "start"

func action() -> void:
	DialogueManager.show_example_dialogue_balloon(dialouge_resource, dialouge_start)
	

You didn’t activate the plugin. So the DialogueManager autoload isn’t loaded. That may have been my bad for not telling you to do that as part of the download.

  1. Go to Project → Project Settings.
  2. Select the Plugins tab.
  3. Click the checkbox next to the Plugin name.
  4. Click the Close button.
  5. Save the project.
  6. Go to Project → Reload Current Ptoject just to be sure everything is loaded.
2 Likes

Wait, wwhen i go into the plugin tab of project settings, it isnt showing up?

Where is it in the FileSystem? What’s the path?

in the main res:// folder :smiley:

It needs to be in the res://addons/ folder

1 Like

omg thank you!! Ive got it now :smiley:

Weird how it knows if its in an addons folder or not huh? (im sure it isnt actually and i just dont understand it but oh well)

thank you very much!!

1 Like

It does actually know. :slight_smile: It searches that folder for addons. Glad you got it working!

2 Likes