- Joined
- Sep 9, 2009
- Messages
- 658
I have this spell where I save relevant data in a hashtable and I placed <ljass>BJdebugMsg</ljass> after every call to save handles, integers and reals and I'm positive they're saved in the hashtable.
However, when I call upon the data in another function, they always return as null. I checked again and again with the code. No errors, typos, or anything. The whole map compiles just fine. I can even test it. So just in case, I copied the code into another map and it works as intended!
Which leaves me to conclude that the test map is the problem. But I can't figure out why. It's practically empty. The only custom unit is a dummy unit and an edited campaign Kael. The only imported files are 3 edited vanilla Flamestrike.mdx. Initialization trigger only has functions to remove fog of war and the black mask. Why is tat map, glitching when loading data from hashtables?
However, when I call upon the data in another function, they always return as null. I checked again and again with the code. No errors, typos, or anything. The whole map compiles just fine. I can even test it. So just in case, I copied the code into another map and it works as intended!
Which leaves me to conclude that the test map is the problem. But I can't figure out why. It's practically empty. The only custom unit is a dummy unit and an edited campaign Kael. The only imported files are 3 edited vanilla Flamestrike.mdx. Initialization trigger only has functions to remove fog of war and the black mask. Why is tat map, glitching when loading data from hashtables?






