Danis[h]
New Member
- Reaction score
- 19
Okay, so I'm wanting to create a for each integer A loop to add all six players to the multiboard, if said player is playing. However when I removed the conditions to check if it would work, it still only added me.
The full trigger looks as follows.
Trigger:
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Then - Actions
- Set i = (i + 1)
- Set PlayerRow[(Integer A)] = (i + 1)
- Multiboard - Set the text for (Last created multiboard) item in column 1, row (i + 1) to (Colors[(Integer A)] + (Name of (Player((Integer A)))))
- Multiboard - Set the text for (Last created multiboard) item in column 2, row (i + 1) to (Colors[(Integer A)] + (String(LivesLabel[Lives[(Integer A)]])))
- Multiboard - Set the text for (Last created multiboard) item in column 3, row (i + 1) to (Colors[(Integer A)] + (String(Kills[(Integer A)])))
- Else - Actions
- Do nothing
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
The full trigger looks as follows.
Trigger:
- Init multiboard
- Events
- Time - Elapsed game time is 2.00 seconds
- Conditions
- Actions
- Multiboard - Create a multiboard with 3 columns and (1 + (Number of players in Players)) rows, titled (Colors[10] + Game Status|r)
- Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to (Colors[10] + Player:|r)
- Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to (Colors[10] + Karakter:|r)
- Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to (Colors[10] + Kills:|r)
- Multiboard - Set the display style for (Last created multiboard) item in column 0, row 0 to Show text and Hide icons
- Multiboard - Set the width for (Last created multiboard) item in column 0, row 0 to 10.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 3, row 0 to 6.00% of the total screen width
- Multiboard - Minimize (Last created multiboard)
- Multiboard - Maximize (Last created multiboard)
- For each (Integer A) from 1 to 6, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Then - Actions
- Set i = (i + 1)
- Set PlayerRow[(Integer A)] = (i + 1)
- Multiboard - Set the text for (Last created multiboard) item in column 1, row (i + 1) to (Colors[(Integer A)] + (Name of (Player((Integer A)))))
- Multiboard - Set the text for (Last created multiboard) item in column 2, row (i + 1) to (Colors[(Integer A)] + (String(LivesLabel[Lives[(Integer A)]])))
- Multiboard - Set the text for (Last created multiboard) item in column 3, row (i + 1) to (Colors[(Integer A)] + (String(Kills[(Integer A)])))
- Else - Actions
- Do nothing
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Events