Hero icons on a multiboard.

CrazyWolf

New Member
Reaction score
4
Hello everyone!

In my map i have made a multiboard where i put the name of each player and i want next to every player's name to be shown an icon of the hero each player possesses.How can i do that?I ve tried everything.:banghead: Is there any trigger that allows me to do so?

P.S If u dont understand what i mean imagine DotA's newest release where in its multiboard next to each players name thre is the icon of the hero each player has selected.

THNX FOR THE HELP!! :rolleyes: :rolleyes: :rolleyes: :rolleyes:
 

SFilip

Gone but not forgotten
Reaction score
634
There is no way to detect a hero's icon. You would probably have to go for creating an If..Then for every possible hero in your map that would change that icon.
 

H34DhUnT3r

Ultra Cool Member
Reaction score
36
There is no way to detect a hero's icon. You would probably have to go for creating an If..Then for every possible hero in your map that would change that icon.

It's not possible to detect, but you dont have to create ten-thousand If..'s I guess you have a hero choose system or so? than just place the multiboard trigger after the choose trigger (in the actions)
 
Reaction score
333
Many maps, including DotA Allstars, have an if statement for every hero. Probably the only thing to do in this case.
 

Pied

New Member
Reaction score
2
Well i'm making a map with 72 different units you can conrol. And i'm not feeling much for making 72 if conditions.

I tried the folowing with no result. Maybe some of you guys can help me ?

Code:
Player Icon Update
    Events
        Unit - A unit Finishes casting an ability
    Conditions
        ((Ability being cast) Equal to Drain ) or ((Ability being cast) Equal to Swap or Exit )
    Actions
        Multiboard - Set the icon for (Last created multiboard) item in column 1, row 2 to Icons[(Point-value of (Target unit of ability being cast))]

Icons is a variable in this case. And for every integer of Icons i did this:

Code:
Icons
    Events
        Map initialization
    Conditions
    Actions
        Set Icons[1] = ReplaceableTextures\CommandButtons\BTNArachnathidGreen.blp
        Set Icons[2] = ReplaceableTextures\CommandButtons\BTNArachnathidpurple.blp
        Set Icons[3] = ReplaceableTextures\CommandButtons\BTNSpiderCrab.blp
        Set Icons[4] = ReplaceableTextures\CommandButtons\BTNSpiderCrab.blp
        Set Icons[5] = ReplaceableTextures\CommandButtons\BTNSpiderCrab.blp
        Set Icons[6] = ReplaceableTextures\CommandButtons\BTNFurbolg.blp
        Set Icons[7] = ReplaceableTextures\CommandButtons\BTNFurbolgTracker.blp
        Set Icons[8] = ReplaceableTextures\CommandButtons\BTNFurbolgShaman.blp
        Set Icons[9] = ReplaceableTextures\CommandButtons\BTNFurbolgElder.blp
        Set Icons[10] = ReplaceableTextures\CommandButtons\BTNSpiderGreen.blp
        Set Icons[11] = ReplaceableTextures\CommandButtons\BTNSpiderBlue.blp
        Set Icons[12] = ReplaceableTextures\CommandButtons\BTNSpider.blp
        Set Icons[13] = ReplaceableTextures\CommandButtons\BTNSpiderBlue.blp
        Set Icons[14] = ReplaceableTextures\CommandButtons\BTNHarpy.blp
        Set Icons[15] = ReplaceableTextures\CommandButtons\BTNHarpy.blp
        Set Icons[16] = ReplaceableTextures\CommandButtons\BTNHarpyWitch.blp
        Set Icons[17] = ReplaceableTextures\CommandButtons\BTNHarpyQueen.blp
        Set Icons[18] = ReplaceableTextures\CommandButtons\BTNGreenHydra.blp
        Set Icons[19] = ReplaceableTextures\CommandButtons\BTNGreenHydra.blp
        Set Icons[20] = ReplaceableTextures\CommandButtons\BTNGreenHydra.blp
        Set Icons[21] = ReplaceableTextures\CommandButtons\BTNThunderLizard.blp
        Set Icons[22] = ReplaceableTextures\CommandButtons\BTNThunderLizard.blp
        Set Icons[23] = ReplaceableTextures\CommandButtons\BTNThunderLizard.blp
        Set Icons[24] = ReplaceableTextures\CommandButtons\BTNThunderLizard.blp
        Set Icons[25] = ReplaceableTextures\CommandButtons\BTNLobstrokkRed.blp
        Set Icons[26] = ReplaceableTextures\CommandButtons\BTNLobstrokkRed.blp
        Set Icons[27] = ReplaceableTextures\CommandButtons\BTNLobstrokkRed.blp
        Set Icons[28] = ReplaceableTextures\CommandButtons\BTNLobstrokkBlue.blp
        Set Icons[29] = ReplaceableTextures\CommandButtons\BTNBlueMagnataur.blp
        Set Icons[30] = ReplaceableTextures\CommandButtons\BTNMurgulTideWarrior.blp
        Set Icons[31] = ReplaceableTextures\CommandButtons\BTNMurgulBloodGill.blp
        Set Icons[32] = ReplaceableTextures\CommandButtons\BTNMurgulTideWarrior.blp
        Set Icons[33] = ReplaceableTextures\CommandButtons\BTNMurgulBloodGill.blp
        Set Icons[34] = ReplaceableTextures\CommandButtons\BTNMurgulShadowCaster.blp
        Set Icons[35] = ReplaceableTextures\CommandButtons\BTNMurloc.blp
        Set Icons[36] = ReplaceableTextures\CommandButtons\BTNMurloc.blp
        Set Icons[37] = ReplaceableTextures\CommandButtons\BTNMurlocNightCrawler.blp
        Set Icons[38] = ReplaceableTextures\CommandButtons\BTNMurlocMutant.blp
        Set Icons[39] = ReplaceableTextures\CommandButtons\BTNOwlBear.blp
        Set Icons[40] = ReplaceableTextures\CommandButtons\BTNOwlBear.blp
        Set Icons[41] = ReplaceableTextures\CommandButtons\BTNOwlBear.blp
        Set Icons[42] = ReplaceableTextures\CommandButtons\BTNFrostBear.blp
        Set Icons[43] = ReplaceableTextures\CommandButtons\BTNFrostBear.blp
        Set Icons[44] = ReplaceableTextures\CommandButtons\BTNPolarFurbolg.blp
        Set Icons[45] = ReplaceableTextures\CommandButtons\BTNPolarFurbolgShaman.blp
        Set Icons[46] = ReplaceableTextures\CommandButtons\BTNPolarFurbolg.blp
        Set Icons[47] = ReplaceableTextures\CommandButtons\BTNPolarFurbolgElder.blp
        Set Icons[48] = ReplaceableTextures\CommandButtons\BTNThunderLizardSalamander.blp
        Set Icons[49] = ReplaceableTextures\CommandButtons\BTNThunderLizardSalamander.blp
        Set Icons[50] = ReplaceableTextures\CommandButtons\BTNThunderLizardVizier.blp
        Set Icons[51] = ReplaceableTextures\CommandButtons\BTNThunderLizardSalamander.blp
        Set Icons[52] = ReplaceableTextures\CommandButtons\BTNSasquatch.blp
        Set Icons[53] = ReplaceableTextures\CommandButtons\BTNSasquatchShaman.blp
        Set Icons[54] = ReplaceableTextures\CommandButtons\BTNSasquatch.blp
        Set Icons[55] = ReplaceableTextures\CommandButtons\BTNSasquatch.blp
        Set Icons[56] = ReplaceableTextures\CommandButtons\BTNSeaTurtleGreen.blp
        Set Icons[57] = ReplaceableTextures\CommandButtons\BTNSeaTurtleGreen.blp
        Set Icons[58] = ReplaceableTextures\CommandButtons\BTNSeaTurtleGreen.blp
        Set Icons[59] = ReplaceableTextures\CommandButtons\BTNSeaTurtleGreen.blp
        Set Icons[60] = ReplaceableTextures\CommandButtons\BTNWendigo.blp
        Set Icons[61] = ReplaceableTextures\CommandButtons\BTNWendigo.blp
        Set Icons[62] = ReplaceableTextures\CommandButtons\BTNWendigo.blp
        Set Icons[63] = ReplaceableTextures\CommandButtons\BTNWendigo.blp
        Set Icons[64] = ReplaceableTextures\CommandButtons\BTNTimberWolf.blp
        Set Icons[65] = ReplaceableTextures\CommandButtons\BTNTimberWolf.blp
        Set Icons[66] = ReplaceableTextures\CommandButtons\BTNTimberWolf.blp
        Set Icons[67] = ReplaceableTextures\CommandButtons\BTNTimberWolf.blp
        Set Icons[68] = ReplaceableTextures\CommandButtons\BTNTimberWolf.blp
        Set Icons[69] = ReplaceableTextures\CommandButtons\BTNDireWolf.blp
        Set Icons[70] = ReplaceableTextures\CommandButtons\BTNJungleBeast.blp
        Set Icons[71] = ReplaceableTextures\CommandButtons\BTNJungleBeast.blp
        Set Icons[72] = ReplaceableTextures\CommandButtons\BTNJungleBeast.blp


But its not working. Some1 cna help me out ?

Thanks in advance.

Pied
 
S

Sunny_D

Guest
well, if you set the point value of all units correctly and this Icons[] Variable array is a string-variable, then it should work...

but why have you choosen a "finishes spell" event for the first trigger? maybe its better to set the icon after you created the hero for the player? im also not sure, how far (last created multiboard) lasts. maybe you should save it (when created) in a multiboard variable and use this variable then in your first trigger.
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
i don't think u are allowed to start a new discussion over some1 else thread and i think u should create ur own thread for it but anyway i didn't get what u were trying to do anyway...
 

Pied

New Member
Reaction score
2
Well, you dont choose a hero in this game. You start of with a DuneWorm that can take over units. This way your icon keeps changing through out the game. And yes the Icon variable is a string variable.

Edit: Hm sorry then for taking over this thread, but i thought this was a nice add-on to the earlier asked questing. Thought it was kinde useless to start a new thread about it..
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
What do you expect the "target unit" to be once you "finishes casting"?

Use "starts the effect of".


> not sure how far (last created multiboard) lasts

Until the next multiboard is created.
Usually, that's to the end of the game...
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top