No complaint, this engine rocks, and nothing invented by humans can be perfect. Here is a weird one.
I have a script that does this:
elseRhiannon's letter goes to inventory as it should but occasionally - not on every playing - the global doesn't get set. The player complains that "the letter is still there". I have a savegame from a player to attest. I can see the letter in inventory, but the debugger tells me that the global is in a null state.
global gGotLetterRhiannon = true;
I believe I'm right that I can declare and set a global in the same statement, and the majority of times the game is played, both instructions are executed. It sounds like a bug, because usually it works and occasionally it doesn't.
Should I have used
elseinstead, as a best practice principle anyway?
gGotLetterRhiannon = true;