"function dialog_request(int param) { }" keeps getting added to my global script

Started by tor.brandt, Mon 07/11/2016 20:47:59

Previous topic - Next topic

tor.brandt

For some reason AGS keeps adding the line
Code: ags
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?

Cassiebsg

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...
There are those who believe that life here began out there...

tor.brandt


Khris

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.

tor.brandt

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!

SMF spam blocked by CleanTalk