Hi again, I don't know if you remember me. I contributed a game about a year or two ago, and now I've decided to try again.
Immediately, there was a problem. The run-script function in dialogs, apparently, refuses to work. What exactly happens is, I type out "run-script 2" for example, and then go add the function in the global script, just like this;
function dialog_request (2) {
ChangeCharacterView (EGO, 12);
}
Now, what happens is that when I save the game, I get a parse error at the "2". I change it to some other number, and still parse error. As far as I understand, it's supposed to be a number there, but it just doesn't seem to accept that.
There should be one dialog_request function in the global script, and it should go a little something like this:
function dialog_request(int value) {
if (value == 2) {
ChangeCharacterView(EGO, 12);
}
else if (value == 42) {
...
}
else if (value == 314) {
...
}
// add other values here
}
This is clearly explained in the Beginners' FAQ. Read it.