Sure it's possible. However, I don't know if there's a way to read object fields with triggers, so you will have to either make a bunch of if-then-elses, one for each hero type, or define a unit type and string array at map initialization and define icon paths for unit types that way. |