Hello!
I'm a beginner at Godot and a beginner at Python-based languages, since almost all my previous experience was in Ruby. So far I've been able to figure everything out by myself, since there's very good learning materials out there, but I've come across the first hurdle when trying out the GodotTIE (Text Interface Engine) addon.
I've been trying to use it to display a message in a textbox. So far I've got a scene which includes the textbox (as a sprite in a CanvasLayer) and an instance of the text interface engine, and it all works fine in the "demos.scn" scene provided with the addon. But I just can't figure out how to use the interface to display text in one of my own scenes. The demo includes an OptionButton node, which signals to the dialogue script in order to display the proper dialogue depending on user selection. But I don't want an OptionButton, I just want to display the text directly.
I'm including my test project attached so you can see what I mean. https://drive.google.com/open?id=0B9TMDWQ-A0ahbG16SVhYVC1NT1k (59 KB)
Compare these two scenes:
--- res://demos.scn > the demo scene. The text displays fine when using the dropdown menu, which signals to a function in the main GodotTIE script.
--- res://maps/test_map.tscn > my test map scene. I'm trying to display the text directly through the text_map_dialogues.gd script, which is attached to the main node of the map. I'm using the buff_text() function which is included with the GodotTIE script. The script is being processed, but nothing appears in the textbox.
If you don't wish to download the project, these are the scripts in question:
--- The main script of the addon (text_interface_engine.scn), which sets up the text interface: https://pastebin.com/kHxPp5tR
--- The demo script (main.gd): https://pastebin.com/WdLHuzfS
--- My script (test_map_dialogues.gd), which for testing purposes I'm calling right from the start of the scene, from a Node2D: https://pastebin.com/0vB5NBRh
The print commands work fine, and the path to the node is also OK. So I don't know what the problem is =/
It's probably something very obvious, but I'm at a loss! I'd really appreciate any tips.