Hello,I am new to Godot and I am following the Typing Game Tutorial on Youtube (part 3) and following his steps however, when I get to adding my list of words into a function in the enemy, it says that it is not declared in the current scope.
onready var words = $RichTextLabel
onready var words_text = words.text
func _ready() -> void:
words_text = WordList.get_words()
words.parse_bbcode(set_center_tags(word_text))
I have a unlinked script named "WordList" which I am trying to get the words from. I have tried to set WordList as a variable with the script path, but then I get the error Invalid call. Non-existent function "get_words()" in base 'string'