- Joined
- Oct 18, 2008
- Messages
- 100
Hi,
I am trying to create 12 multiboards only 1 being visible to each player. I already searched the forums and I found out that I need to use GetLocalPlayer() but i cannot seem to get it to work.
Could somebody help me? I don't know a lot about jass.
I am trying to create 12 multiboards only 1 being visible to each player. I already searched the forums and I found out that I need to use GetLocalPlayer() but i cannot seem to get it to work.
Could somebody help me? I don't know a lot about jass.
-
Map Ini
-

Events
-


Time - Elapsed game time is 0.01 seconds
-
-

Conditions
-

Actions
-


-------- Var Sets --------
-


Set VariableSet uTier3[1] = Human Priest
-


Set VariableSet uTier1[1] = Footman
-


Set VariableSet uTier4[1] = Knight
-


Set VariableSet uTier2[1] = Archer
-


Set VariableSet uTier5[1] = Royal Guard
-


-------- Actions --------
-


Countdown Timer - Start tIncomeTimer as a Repeating timer that will expire in 30.00 seconds
-


Countdown Timer - Create a timer window for tIncomeTimer with title Income:
-


For each (Integer iTemp_Int) from 0 to 11, do (Actions)
-



Loop - Actions
-




-------- Player Set --------
-




Set VariableSet pPlayers[iTemp_Int] = (Player((iTemp_Int + 1)))
-




-------- Multiboard --------
-




Multiboard - Create a multiboard with 3 columns and 10 rows, titled Info:.
-




Set VariableSet Multiboard[iTemp_Int] = (Last created multiboard)
-




Set VariableSet iTemp_Integer2 = 0
-




For each (Integer i) from 1 to 3, do (Actions)
-





Loop - Actions
-






For each (Integer iTemp_Integer2) from 1 to 10, do (Actions)
-







Loop - Actions
-








Multiboard - Set the display style for Multiboard[iTemp_Int] item in column i, row iTemp_Integer2 to Show text and Show icons
-








Multiboard - Set the width for (Last created multiboard) item in column i, row iTemp_Integer2 to 3.00% of the total screen width
-
-
-
-
-




Multiboard - Set the text for Multiboard[iTemp_Int] item in column 1, row 1 to Spawns:
-




Multiboard - Set the text for Multiboard[iTemp_Int] item in column 1, row 2 to (String(uTier1[iTemp_Int]))
-




Multiboard - Set the text for Multiboard[iTemp_Int] item in column 1, row 3 to (String(uTier2[iTemp_Int]))
-




Multiboard - Set the text for Multiboard[iTemp_Int] item in column 1, row 4 to (String(uTier3[iTemp_Int]))
-




Multiboard - Set the text for Multiboard[iTemp_Int] item in column 1, row 5 to (String(uTier4[iTemp_Int]))
-




Multiboard - Set the text for Multiboard[iTemp_Int] item in column 1, row 6 to (String(uTier5[iTemp_Int]))
-




Multiboard - Set the text for Multiboard[iTemp_Int] item in column 1, row 7 to Income:
-




Multiboard - Set the text for Multiboard[iTemp_Int] item in column 1, row 8 to Gold:
-




Multiboard - Set the text for (Last created multiboard) item in column 2, row 8 to (String(iPlayerGoldIncome[iTemp_Int]))
-




Multiboard - Set the icon for (Last created multiboard) item in column 3, row 8 to ReplaceableTextures\CommandButtons\BTNSackOGold.blp
-




Multiboard - Set the text for Multiboard[iTemp_Int] item in column 1, row 9 to Resources
-




Multiboard - Set the text for (Last created multiboard) item in column 2, row 9 to (String(iPlayerResourceIncome[iTemp_Int]))
-




Multiboard - Set the icon for (Last created multiboard) item in column 3, row 9 to ReplaceableTextures\CommandButtons\BTNWood.blp
-




Set VariableSet i = 0
-




Set VariableSet iTemp_Integer2 = 0
-




Multiboard - Hide Multiboard[iTemp_Int]
-




Custom script: if GetLocalPlayer() == udg_pPlayers[udg_iTemp_Int] then
-




Multiboard - Show Multiboard[iTemp_Int]
-




Custom script: endif
-
-
-


Set VariableSet iTemp_Int = 0
-


Set VariableSet iTemp_Integer2 = 0
-
-
Last edited:



