• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Issue with map?

Status
Not open for further replies.
Level 3
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?
 
I've had triggers that do not work for any reason no matter what I do.

I deleted it and recreated it all from scratch exactly the same and it worked. No idea why. Perhaps when you change some object editor data, it messes up some parts of the trigger that call the information (just a guess).

I would recommend you disable the whole trigger and re-write the whole thing again from scratch.
 
Status
Not open for further replies.
Back
Top