nagidev / DialogueNodes

A plugin for creating, editing and using branching dialogues in Godot
MIT License
354 stars 21 forks source link

It's possible to load dialogs from an API Request? #42

Open JuanxCursed opened 2 weeks ago

JuanxCursed commented 2 weeks ago

I was looking for some way to use HTTP Requests to make the dialogs more dynamic with the use of an API; no need to be on the FLY, but download the dialogs locally, then load them into the dialog. Is there any way to achieve that?

nagidev commented 2 weeks ago

Do you mean $DialogueBox.data = load('res://path/to/file.tres') ? Because yes, you can do that.