Hey there, I'm an old mapmaker who's returning to wc3 after several years and my memory is failing me. Can you not declare globals inside a trigger? I feel like I used to be able to do that, yet I'm getting an "unknown compile error" from it. I also tried putting them in the map header and had the same error.
I'm using WEX (I'm used to NewGen, not sure what the differences are).
I'm using WEX (I'm used to NewGen, not sure what the differences are).