Well, months ago i decided adding icons to my map multiboard. With the help of people here in TheHelper, i successfully created triggers where a hero icon appears on the column of the buyer when the hero is bought. Here is a part of my trigger where i put multiboard icons.
I believe that many people will be shocked as I used If/then/else in many heroes. I want it that way except if it will worsen my problem
So, here it is, the problem.
If the map is played with complete 12 players, the icons appear on the right column.
But if the map is played with players that are not consecutive, the icons appear on the wrong column. Because only playing players are shown in the multiboard.
For example:
Player 1 is playing - Icon appeared on the correct column
Player 2 is not playing - No Icon because the status was not playing
Player 3 is playing - Icon didn't appear because 1 + 3 = 4 and there are only 3 columns. The player number is 3.
Is there a solution for this?
Trigger:
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Unit-type of (Sold unit)) Equal to Master of Fury
- Then - Actions
- Multiboard - Set the icon for (Last created multiboard) item in column 1, row (1 + (Player number of (Owner of (Sold unit)))) to ReplaceableTextures\CommandButtons\BTNFelGuard.blp
- Else - Actions
- If - Conditions
I believe that many people will be shocked as I used If/then/else in many heroes. I want it that way except if it will worsen my problem
So, here it is, the problem.
If the map is played with complete 12 players, the icons appear on the right column.
But if the map is played with players that are not consecutive, the icons appear on the wrong column. Because only playing players are shown in the multiboard.
For example:
Player 1 is playing - Icon appeared on the correct column
Player 2 is not playing - No Icon because the status was not playing
Player 3 is playing - Icon didn't appear because 1 + 3 = 4 and there are only 3 columns. The player number is 3.
Is there a solution for this?