For some reason AGS keeps adding the line
function dialog_request(int param) { }
at the bottom of my global script.
I take it that I add it accidentally myself, but I cannot figure out what I keep doing to add the line to the script.
Does anyone have suggestions for what could (semi-)automatically add the line?
I had the same problem not long ago, and you can't get rid of it. Just move it to the top of the script and forget it's there...
It's some legacy code, or so...
Thanks!
So it's actually an AGS bug, kind of?
Do you have a run-script in any of your dialog scripts? That's the only thing I can imagine would cause that, other than some weird bug.
Quote from: Khris on Tue 08/11/2016 09:42:27
Do you have a run-script in any of your dialog scripts? That's the only thing I can imagine would cause that, other than some weird bug.
That's exactly the thing, so far I've been working solely on the UI for my game, and so I haven't even gotten to any dialog scripts yet, which is why I couldn't figure out what I could have possibly done to make the line appear.
Maybe by mistake I could have switched some "run script" on somewhere dialog-related, I'll have to look for that, thanks!