Hi, I have this problem which might be simple, but unfortunately I can't come up with any solution.
I have a room script. Let's say it looks like this:
Code: ags
dMain starts a branching dialog, where the end options set the value of the global variable res. When I run it, the dialog is being "ignored" and res still holds its default value.
I've tried to use the solution provided in this topic, but it didn't work.
I have a room script. Let's say it looks like this:
dMain.Start();
if (res == 0) {cEgo.ChangeRoom(1);}
else if (res == 1) {cEgo.ChangeRoom(2);}
else {cEgo.ChangeRoom(3);}
dMain starts a branching dialog, where the end options set the value of the global variable res. When I run it, the dialog is being "ignored" and res still holds its default value.
I've tried to use the solution provided in this topic, but it didn't work.