I'm currently trying to knock up some dialogue which modifies a couple of custom Globals I've created. Take 3 Globals I've created, say A, B and C.
A = 100
B = 50
C = 25
If you answer the first topic, you get say, +25 to A, B and C (so they'd then become 125, 75 and 50).
If you answer the second topic, you lose 25, i.e. (75, 25 and 0).
Now the script I'd put would be in the result script of that topic, and it would say something like... (assuming we're talking about +25)
short DoOnceif DoOnce == 0showMessage AAAplus25set AAAA to AAAA + 25set AAAB to AAAB + 25set AAAB to AAAC + 25set DoOnce to 1endif
Then when I call another topic, to show a custom message which shows the Global Variables, they should in theory have changed right? Yet it still shows the default variables I've set in the Globals.
The script I'd call would be;
ShowMessage AAAshowGlobals, AAAA, AAAB, AAAC
What am I doing wrong?