Thanks! You've been very helpful!
I'll keep experimenting and learning and get around to writing that quests tutorial soon I think.
I'm enjoying messing around with this stuff, though truth be told I'm no stranger to level editors and modding, or programming for that matter either (so the scripting doesn't scare me)! lol. The scripting really opens up tons of modding possibilities, as opposed to a game whose editor just lets you place objects but doesn't have scripts (so you can only do things the devs already programmed in).
The wiki has been very helpful too. It must've taken a long while for you to get the api listing and everything up there.
I was going to ask you what the second parameter of the Tell function does, but I think I've figured it out. At first I thought maybe it specified which character image to show on the dialog window but I have observed that this is not the case. It always displayed the ? mark image regardless of the value I passed in. So looking at the official scripts, I'm guessing the character image displayed is whoever the camera is focused on. Anyway, I notice in the script for the intro sequence of the first tutorial map that we see this line:
Looking in the texts_en.csv file I see there is no entry called "dlg_escape_intro", but rather there are entries called "dlg_escape_intro_1_succubus" and "dlg_escape_intro_3_succubus". This one line of script causes both of these entries to be displayed. So I conclude that the Tell function gets the first matching ID, and then the 2nd parameter tells it how many consecutive matching IDs to display the text of.