HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Hero icon on Multiboard ?

06-14-2008, 09:37 AM#1
Leopard
>>Hail my friend. Well, this is just a small problem, i want to make it that whenever a player choose his hero, the Hero's icon will appear on the Multiboard. Can you help me with that ?
Thanks in advance
06-14-2008, 09:52 AM#2
Alexander244
2 arrays, one of hero Id's and one of icon paths. When a hero is picked, loop through the hero Id array to find the array index, and then get the icon path from the other array. Display that icon on the multiboard.
06-14-2008, 06:41 PM#3
Burning Rose
You also just do If/Then functions to find the correct hero and give it the correct icon. It's simpler, but messier.
06-15-2008, 01:03 AM#4
Leopard
Hix...if so, its hard, not easy, lol
This confuse me alot, can you help me with a demo map? please, i beg you...
06-15-2008, 07:06 AM#5
BestZero
Quote:
Originally Posted by Alexander244
2 arrays, one of hero Id's and one of icon paths. When a hero is picked, loop through the hero Id array to find the array index, and then get the icon path from the other array. Display that icon on the multiboard.
That's.

Anyways, I made this map for you, Leopard. If you have a problem ask me.
Attached Files
File type: w3xHero Icon Multiboard.w3x (14.6 KB)
06-15-2008, 09:47 AM#6
Leopard
Hi hi, i ckecked my thread every 2 minutes, thanks the god, you finally help me... BestZero
+REP