I've been going in circles trying to figure out why dictionary objects do not work in my project (but work fine in blank projects).
ALL dictionary values look okay in chrome browser debug and in construct2 native debugger
dictionary.asjson() works fine as well and shows all values,
but dictionary.haskey and dictionary.get do not work at all and only return 0 and I have no idea why.
Here is all of the relevant code from my project:
It's messy because I've spend the last 8 hours changing random things, commenting things out, and pumping out values to try and figure out why "haskey" and "get" don't work on my dictionaries, but it works fine in a new project. Obviously I need it to work in this project and I have no clue what's going wrong.
If you look I also had to make buffer variables to hold on to the parameters because the parameters DISAPPEAR!!!!! if I try to use them in a sub event. I am completely not understanding scope or how this works or something.