I have a big multiboard problem.
I'm creating it at 0.1 after init, so that should not be the issue.
10 multiboards are created and should be showed locally at initialization.
This trigger is the Init trigger for the multiboards:
(I know that this is in GUI, but I appreciate JASS help too of course)
I tried debugging and the indexing is good, but no multiboard is shown.
(And no, I don't do anything to the multiboard showing later in the game)
I'm creating it at 0.1 after init, so that should not be the issue.
10 multiboards are created and should be showed locally at initialization.
This trigger is the Init trigger for the multiboards:
(I know that this is in GUI, but I appreciate JASS help too of course)
Trigger:
- Multiboard Init
- Events
- Time - Elapsed game time is 0.10 seconds
- Conditions
- Actions
- For each (Integer A) from 1 to 10, do (Actions)
- Loop - Actions
- Multiboard - Create a multiboard with 2 columns and 9 rows, titled |cffffcc00Cooldowns...
- Set MULTIBOARD[(Integer A)] = (Last created multiboard)
- Multiboard - Hide (Last created multiboard)
- Custom script: if Player(GetForLoopIndexA()-1) == GetLocalPlayer() then
- Multiboard - Show (Last created multiboard)
- Custom script: endif
- Multiboard - Set the display style for (Last created multiboard) item in column 0, row 0 to Show text and Hide icons
- Multiboard - Set the text for (Last created multiboard) item in column 1, row 0 to -|cff716f64empty|r
- Multiboard - Set the text for (Last created multiboard) item in column 2, row 0 to |cff716f64---|r
- Multiboard - Set the width for (Last created multiboard) item in column 2, row 0 to 5.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 15.00% of the total screen width
- For each (Integer B) from 1 to 11, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Integer B) mod 2) Not equal to 0
- Then - Actions
- Multiboard - Set the text for (Last created multiboard) item in column 1, row (Integer B) to <Empty String>
- Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer B) to <Empty String>
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Multiboard - Minimize (Last created multiboard)
- Multiboard - Maximize (Last created multiboard)
- Loop - Actions
- For each (Integer A) from 1 to 10, do (Actions)
- Events
I tried debugging and the indexing is good, but no multiboard is shown.
(And no, I don't do anything to the multiboard showing later in the game)