"could not find" slope problems

hey it’s the guy who knows nothing again, so I’m following a tutorial to add a dialogue system since I didn’t even know where to start or how to make one easily and for some reason it’s not picking up on something I typed in even though in the video it is and nobody in the comments are talking about it, I have no clue what’s wrong

@export var choice_text: Array[String]
@export var choice_function_call: Array[DialogueFunction]
@export var dialogue: Array[Resource]

the “Array[DialogueFunction]” works fine, and just in case here’s the Dialogue function code in case that messes anything up

extends Resource
class_name DialogueFunction

@export var target_path: NodePath
@export var function_name: String
@export var function_arguments: Array

@export var hide_dialogue_box: bool
@export var wait_for_signal_to_continue: String = ""

what’s popping up for me is that they can’t find DialogueFunction in slope, here’s a image of what the tutorial has and what I have


|

|
I’ve been looking back and forth between the screenshots for like 7 minutes now and I don’t have anymore hair to rip out

Did you try reloading your project? Sometimes that helps solve some simple scope issues.

1 Like

I wish I could express what my face looks like after spending a hour trying to find a answer just to reload the project and it works, Unironically I love you and thank you

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.