Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Godot Dialogue System 2

An advanced non-linear dialogue system for the free and open-source Godot engine. · By radmatt

About Dialogue.var("local_variable_name") not working

A topic by neowoods created Jun 29, 2020 Views: 231 Replies: 1
Viewing posts 1 to 2

Hi, RadMatt

           I am new to Godot and I really enjoy your Dialogue Design and Godot dialogue system 2.  Recently when I tried to make more progress on adding local variable, I got problem. So in Dialogue Design I added a  condition branch  "if Dialogue.var("second_check")" node, while getting error  in the editor saying "Nonexistent function "var" in base CanvasLayer("Dialogue.gd").

          Could you please help me with that? thank you

Hi, I just found that it should be Dialogue.get_var("local_variable_name")

Please check the error on your documentation of Godot dialogue system 2.