• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Trigger] Storing a unit's Icon in a String variable?

Status
Not open for further replies.
Level 3
Joined
Oct 11, 2017
Messages
24
Greetings, developers!

I'm currently working on my map's Multiboard, and I'd like to add each player's Hero Icon beside it's name.
I could do it manually (indexing heroes and their icon string paths accordingly), but I'd like to know if is there a way to get a unit's icon and store it in a string variable.
 
Level 3
Joined
Oct 11, 2017
Messages
24
1670792597419.png


I'm using 1.34, and I clearly have no idea what I'm doing, as this immediately crashed and reported errors.
 
Status
Not open for further replies.
Top