Unfortunately, Railbound's inventory code seems to fire wrongly to the point I cannot continue. I am not sure if this is a bug with GDevelop but considering that an event is firing when conditions are false, I believe this is.
“One who never played god never dreamed, never thought, and certainly never existed.”
Not to be told.
Not to be told.
Not to be told.
Joined on 3/4/18
Posted by TazShelby2016 - February 27th, 2021
Unfortunately, Railbound's inventory code seems to fire wrongly to the point I cannot continue. I am not sure if this is a bug with GDevelop but considering that an event is firing when conditions are false, I believe this is.
@Gimmick sorry, it never notified me of this comment. I just saw it.
I haven't used GDevelop but I guess it uses Javascript; what did the debugger say?
Sorry, NG does not notify me at all. I got the info on the variable from the debugger.
I found the source of the bug while converting many variables to booleans. I resumed work today.
Gimmick
I've had a few bugs like that. Not in GDevelop, but in AS3. Turns out a variable had been set to true but a long chain of invisible side effects (as in, I glossed over them because it looked like they were irrelevant) had occurred, causing it to be set to false (or vice versa, can't exactly remember.)
TazShelby2016
In this case, a sound effect plays despite not meeting its conditions. The variable, however, is set to the correct state. (The program, however, acts as if the variable is not in the correct state.)