• 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.

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

Status
Not open for further replies.
Level 4
Joined
Oct 11, 2017
Messages
37
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 4
Joined
Oct 11, 2017
Messages
37
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