In the attached map, I've got a system where when a hero is trained, a dialog appears and allows the player to choose a class. The class is then stored in the Game Cache, using the unit's custom value as it's label.
I've also got a function that calls a unit's class and outputs it.
The problem is, when I use that function, it outputs "(Null)". Could someone take a look at see if they can fix it? |