Hi guys!
I've got a problem with my multiboards not showing. I made this trigger and i cannot see either of the 2 multiboards it creates unless i remove the "custom-script-if"-part.
Any suggestions?
Here is my trigger:
[/code]
garrisons multiboard
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
For each (Integer A) from 1 to 2, do (Actions)
Loop - Actions
Multiboard - Create a multiboard with 4 columns and 1 rows, titled |cffFFF66FGarrisons....
Set VariableSet garrison_multiboard[(Integer A)] = (Last created multiboard)
Multiboard - Set the width for (Last created multiboard) item in column 1, row 1 to 1.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 1 to 8.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 1 to 2.20% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 4, row 1 to 2.20% of the total screen width
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Hide text and Show icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 1 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 1 to Hide text and Show icons
Multiboard - Set the display style for (Last created multiboard) item in column 4, row 1 to Hide text and Show icons
Multiboard - Set the icon for (Last created multiboard) item in column 1, row 1 to ReplaceableTextures\CommandButtons\BTNbuilding.blp
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Garrison
Multiboard - Set the icon for (Last created multiboard) item in column 3, row 1 to ReplaceableTextures\CommandButtons\BTNMGExchange.blp
Multiboard - Set the icon for (Last created multiboard) item in column 4, row 1 to ReplaceableTextures\CommandButtons\BTNHumanLumberUpgrade1.blp
Multiboard - Maximize (Last created multiboard)
Custom script: if GetLocalPlayer() != Player(GetForLoopIndexA() - 1) then
Multiboard - Hide garrison_multiboard[(Integer A)]
Custom script: endif
Greets!
I've got a problem with my multiboards not showing. I made this trigger and i cannot see either of the 2 multiboards it creates unless i remove the "custom-script-if"-part.
Any suggestions?
Here is my trigger:
[/code]
garrisons multiboard
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
For each (Integer A) from 1 to 2, do (Actions)
Loop - Actions
Multiboard - Create a multiboard with 4 columns and 1 rows, titled |cffFFF66FGarrisons....
Set VariableSet garrison_multiboard[(Integer A)] = (Last created multiboard)
Multiboard - Set the width for (Last created multiboard) item in column 1, row 1 to 1.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 1 to 8.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 1 to 2.20% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 4, row 1 to 2.20% of the total screen width
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Hide text and Show icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 1 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 1 to Hide text and Show icons
Multiboard - Set the display style for (Last created multiboard) item in column 4, row 1 to Hide text and Show icons
Multiboard - Set the icon for (Last created multiboard) item in column 1, row 1 to ReplaceableTextures\CommandButtons\BTNbuilding.blp
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Garrison
Multiboard - Set the icon for (Last created multiboard) item in column 3, row 1 to ReplaceableTextures\CommandButtons\BTNMGExchange.blp
Multiboard - Set the icon for (Last created multiboard) item in column 4, row 1 to ReplaceableTextures\CommandButtons\BTNHumanLumberUpgrade1.blp
Multiboard - Maximize (Last created multiboard)
Custom script: if GetLocalPlayer() != Player(GetForLoopIndexA() - 1) then
Multiboard - Hide garrison_multiboard[(Integer A)]
Custom script: endif
Greets!