I created a 12 multiboards using loop, for each players but something went wrong because only player 12 can see the multiboard:
What im doing wrong, here is my trigger:
What im doing wrong, here is my trigger:
-
multiboard create
- Events
- Conditions
-
Actions
- Wait 1.00 seconds
-
For each (Integer B) from 1 to 12, do (Actions)
-
Loop - Actions
- Multiboard - Create a multiboard with 3 columns and 6 rows, titled (|c00AAAAAASP: |r|c00FFC43D + ((String(SP[(Integer B)])) + (|r|c00AAAAAA || win at: |r|c00FFC43D + ((String(ToWin)) + |r))))
- Set multiboard_index[(Integer B)] = (Last created multiboard)
- Multiboard - Set the display style for (Last created multiboard) item in column 0, row 0 to Show text and Hide icons
-
For each (Integer A) from 1 to 6, do (Actions)
-
Loop - Actions
- Multiboard - Set the color for (Last created multiboard) item in column 2, row (Integer A) to (80.00%, 80.00%, 80.00%) with 0.00% transparency
- Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 1.00% of the total screen width
- Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer A) to |c00AAAAAA |||| |r
-
Loop - Actions
-
For each (Integer A) from 1 to 6, do (Actions)
-
Loop - Actions
- Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 7.00% of the total screen width
-
Loop - Actions
-
For each (Integer A) from 1 to 6, do (Actions)
-
Loop - Actions
- Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 7.00% of the total screen width
-
Loop - Actions
- Multiboard - Set the color for (Last created multiboard) item in column 1, row 1 to (100.00%, 80.00%, 30.00%) with 0.00% transparency
- Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to FORCE
- Multiboard - Set the color for (Last created multiboard) item in column 3, row 1 to (100.00%, 80.00%, 30.00%) with 0.00% transparency
- Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to POINTS
- Multiboard - Set the color for (Last created multiboard) item in column 1, row 2 to (80.00%, 80.00%, 80.00%) with 0.00% transparency
- Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to ==========
- Multiboard - Set the color for (Last created multiboard) item in column 3, row 2 to (80.00%, 80.00%, 80.00%) with 0.00% transparency
- Multiboard - Set the text for (Last created multiboard) item in column 3, row 2 to ==========
- Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to force 1
- Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to force 2
- Multiboard - Set the text for (Last created multiboard) item in column 1, row 5 to force 3
- Multiboard - Set the text for (Last created multiboard) item in column 1, row 6 to force 4
- Multiboard - Set the text for (Last created multiboard) item in column 3, row 3 to (String(ForcePoints[1]))
- Multiboard - Set the text for (Last created multiboard) item in column 3, row 4 to (String(ForcePoints[2]))
- Multiboard - Set the text for (Last created multiboard) item in column 3, row 5 to (String(ForcePoints[3]))
- Multiboard - Set the text for (Last created multiboard) item in column 3, row 6 to (String(ForcePoints[4]))
- Set multiboard_player = (Player((Integer B)))
- Set multiboard_show[(Integer B)] = False
- Custom script: if GetLocalPlayer() == udg_multiboard_player then
- Set multiboard_show[(Integer B)] = True
- Custom script: endif
-
Loop - Actions
- Custom script: call MultiboardDisplay(udg_multiboard_index[1], udg_multiboard_show[1])
- Custom script: call MultiboardDisplay(udg_multiboard_index[2], udg_multiboard_show[2])
- Custom script: call MultiboardDisplay(udg_multiboard_index[3], udg_multiboard_show[3])
- Custom script: call MultiboardDisplay(udg_multiboard_index[4], udg_multiboard_show[4])
- Custom script: call MultiboardDisplay(udg_multiboard_index[5], udg_multiboard_show[5])
- Custom script: call MultiboardDisplay(udg_multiboard_index[6], udg_multiboard_show[6])
- Custom script: call MultiboardDisplay(udg_multiboard_index[7], udg_multiboard_show[7])
- Custom script: call MultiboardDisplay(udg_multiboard_index[8], udg_multiboard_show[8])
- Custom script: call MultiboardDisplay(udg_multiboard_index[9], udg_multiboard_show[9])
- Custom script: call MultiboardDisplay(udg_multiboard_index[10], udg_multiboard_show[10])
- Custom script: call MultiboardDisplay(udg_multiboard_index[11], udg_multiboard_show[11])
- Custom script: call MultiboardDisplay(udg_multiboard_index[12], udg_multiboard_show[12])
- Wait 10.00 seconds
- Trigger - Run multiboard refresh <gen> (ignoring conditions)