- Joined
- Jul 29, 2010
- Messages
- 319
I have no idea what i'm doing when it comes to multiboards, i find it hard to follow the tutorials for them so these triggers are messy as all hell
-
Leaderboard Creation
-

Events
-


Time - Elapsed game time is 0.01 seconds
-
-

Conditions
-

Actions
-


Set Player_Count = (Number of players in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing))))
-


Multiboard - Create a multiboard with 4 columns and (Player_Count + 1) rows, titled Scores
-


Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Players
-


Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to Kills
-


Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to Score
-


For each (Integer A) from 1 to (Player_Count + 1), do (Actions)
-



Loop - Actions
-




Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Show icons
-




Multiboard - Set the icon for (Last created multiboard) item in column 4, row 1 to ReplaceableTextures\CommandButtons\BTNOrcBattleStandard.blp
-




Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Hide icons
-




Multiboard - Set the display style for (Last created multiboard) item in column 2, row (Integer A) to Show text and Hide icons
-




Multiboard - Set the display style for (Last created multiboard) item in column 3, row (Integer A) to Show text and Hide icons
-




Multiboard - Set the display style for (Last created multiboard) item in column 4, row 1 to Show text and Hide icons
-




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




Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 8.00% of the total screen width
-




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


Set List = 2
-


Player Group - Pick every player in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User))) and do (Actions)
-



Loop - Actions
-




Set Multiboard_Spots[(Player number of (Picked player))] = List
-




Multiboard - Set the text for (Last created multiboard) item in column 2, row List to (Player_Colours[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
-




Multiboard - Set the text for (Last created multiboard) item in column 3, row List to 0
-




Multiboard - Set the icon for (Last created multiboard) item in column 1, row List to ReplaceableTextures\CommandButtons\BTNDwarvenLongRifle.blp
-




Set List = (List + 1)
-
-
-


Multiboard - Show (Last created multiboard)
-
-
-
Leaderboard Update
-

Events
-


Unit - A unit Dies
-
-

Conditions
-


And - All (Conditions) are true
-



Conditions
-
-


((Dying unit) belongs to an enemy of (Owner of (Killing unit))) Equal to True
-


(Unit-type of (Dying unit)) Not equal to Dummy Unit (Dummy)
-


(Unit-type of (Dying unit)) Not equal to Dummy Bullet (arrow)
-
-

Actions
-


Set PlayerKills[(Player number of (Owner of (Killing unit)))] = (PlayerKills[(Player number of (Owner of (Killing unit)))] + 1)
-


Set KillstreakReset[(Player number of (Owner of (Killing unit)))] = (KillstreakReset[(Player number of (Owner of (Killing unit)))] + 1)
-


Multiboard - Set the text for (Last created multiboard) item in column 2, row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to (String(PlayerKills[(Player number of (Owner of (Killing unit)))]))
-
-
