| 01-29-2005, 04:14 AM | #1 |
Multiboard trouble, kill count only works for some players and just acts crazy. these are my triggers... Events Time - Elapsed game time is 3.00 seconds Conditions Actions Multiboard - Create a multiboard with 2 columns and 6 rows, titled |CFF545454B|CFF5C5C... Wait 0.01 seconds Set MultiboardKills = (Last created multiboard) Multiboard - Set the width for MultiboardKills item in column 1, row 1 to 11.00% of the total screen width Multiboard - Set the width for MultiboardKills item in column 2, row 1 to 11.00% of the total screen width Multiboard - Set the width for MultiboardKills item in column 1, row 2 to 11.00% of the total screen width Multiboard - Set the width for MultiboardKills item in column 1, row 3 to 11.00% of the total screen width Multiboard - Set the width for MultiboardKills item in column 1, row 4 to 11.00% of the total screen width Multiboard - Set the width for MultiboardKills item in column 1, row 5 to 11.00% of the total screen width Multiboard - Set the width for MultiboardKills item in column 1, row 6 to 11.00% of the total screen width Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to |CFF545454P|CFF7878... Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to |CFFA8A8A8K|CFFD3D3... Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to (Name of Player 1 (Red)) Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to (Name of Player 2 (Blue)) Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to (Name of Player 7 (Green)) Multiboard - Set the text for (Last created multiboard) item in column 1, row 5 to (Name of Player 9 (Gray)) Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (String(0)) Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to (String(0)) Multiboard - Set the text for (Last created multiboard) item in column 2, row 4 to (String(0)) Multiboard - Set the text for (Last created multiboard) item in column 2, row 5 to (String(0)) Multiboard - Set the text for (Last created multiboard) item in column 1, row 6 to (|CFF545454L|CFF606060i|CFF6C6C6Cv|CFF787878e|CFF848484s |CFF9C9C9CL|CFFA8A8A8e|CFFB4B4B4f|CFFC0C0C0t + (String(Lives))) Wait 0.01 seconds Multiboard - Show MultiboardKills The killcounting trigger Events Unit - A unit Dies Conditions Actions Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1) Multiboard - Set the text for MultiboardKills item in column 2, row ((Player number of (Owner of (Killing unit))) + 1) to (String(Kills[(Player number of (Owner of (Killing unit)))])) My variables are Kills(integers)[array] and Multiboardkills is my multiboard |
