• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Trigger Issue

Status
Not open for further replies.
The "Multiboard - Show Multi_Board" should be at the end. You should get rid of the "Do nothing" trigger. And of course the main problem: When you set the Variable to something new, you don't automatically set the multiboard. You have to have one more "Multiboard - Set the text for Multi_Board item in column 2, row 2 to (String(Multi_Board_Kills1))" for each of them.
Like this works:
  • Multiboard Init
    • Events
      • Time - Elapsed game time is 0.01 seconds
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 1 columns and 1 rows, titled **********
      • Set Multiboard = (Last created multiboard)
      • Multiboard - Change the title of Multiboard to **********
      • Multiboard - Change the number of columns for Multiboard to 4
      • Multiboard - Change the number of rows for Multiboard to (4 + ((Number of players in WestSideTeam) + (Number of players in EastSideTeam)))
      • Multiboard - Set the display style for Multiboard item in column 0, row 0 to Show text and Hide icons
      • Multiboard - Set the display style for Multiboard item in column 1, row 5 to Show text and Show icons
      • Multiboard - Set the display style for Multiboard item in column 1, row 6 to Show text and Show icons
      • Multiboard - Set the display style for Multiboard item in column 1, row 7 to Show text and Show icons
      • Multiboard - Set the display style for Multiboard item in column 1, row 8 to Show text and Show icons
      • Multiboard - Set the display style for Multiboard item in column 1, row 9 to Show text and Show icons
      • Multiboard - Set the display style for Multiboard item in column 1, row 10 to Show text and Show icons
      • Multiboard - Set the display style for Multiboard item in column 1, row 11 to Show text and Show icons
      • Multiboard - Set the display style for Multiboard item in column 1, row 12 to Show text and Show icons
      • Multiboard - Set the width for Multiboard item in column 1, row 0 to 11.00% of the total screen width
      • Multiboard - Set the width for Multiboard item in column 2, row 0 to 6.00% of the total screen width
      • Multiboard - Set the width for Multiboard item in column 3, row 0 to 7.00% of the total screen width
      • Multiboard - Set the width for Multiboard item in column 4, row 0 to 9.00% of the total screen width
      • Multiboard - Set the text for Multiboard item in column 1, row 1 to WS Lives:
      • Multiboard - Set the text for Multiboard item in column 2, row 1 to (String(INT_Lives1))
      • Multiboard - Set the text for Multiboard item in column 1, row 2 to ES Lives:
      • Multiboard - Set the text for Multiboard item in column 2, row 2 to (String(INT_Lives2))
      • Multiboard - Set the text for Multiboard item in column 3, row 2 to Difficulty:
      • Multiboard - Set the text for Multiboard item in column 4, row 2 to Voting...
      • Multiboard - Set the text for Multiboard item in column 3, row 1 to Mode:
      • Multiboard - Set the text for Multiboard item in column 4, row 1 to Checking...
      • Multiboard - Set the text for Multiboard item in column 1, row 4 to |c0000FF00Hero:|r
      • Multiboard - Set the text for Multiboard item in column 2, row 4 to |c0000FF00Gold:|r
      • Multiboard - Set the text for Multiboard item in column 3, row 4 to |c0000FF00Kills:|r
      • Multiboard - Set the text for Multiboard item in column 4, row 4 to |c0000FF00Player:|r
      • Multiboard - Set the color for Multiboard item in column 1, row 2 to (80.00%, 80.00%, 80.00%) with 0.00% transparency
      • Multiboard - Set the color for Multiboard item in column 2, row 2 to (80.00%, 80.00%, 80.00%) with 0.00% transparency
      • Multiboard - Set the color for Multiboard item in column 3, row 1 to (80.00%, 80.00%, 80.00%) with 0.00% transparency
      • Multiboard - Set the color for Multiboard item in column 4, row 1 to (80.00%, 80.00%, 80.00%) with 0.00% transparency
      • Multiboard - Show Multiboard
  • Game Timer
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • GameTimeSeconds Greater than or equal to 59
        • Then - Actions
          • Multiboard - Change the title of Multiboard to **********
          • Set GameTimeMinutes = (GameTimeMinutes + 1)
          • Set GameTimeSeconds = 0
        • Else - Actions
          • Multiboard - Change the title of Multiboard to **********
          • Set GameTimeSeconds = (GameTimeSeconds + 1)
PS: When setting "0" in column or row, it takes all the rows...
 
That was just an example :p
Here's what you need:
  • Multiboard Update
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Set Multiboard_Kills[(Player number of (Owner of (Killing unit)))] = ((Owner of (Killing unit)) Units Killed)
      • Multiboard - Set the text for Your_Multiboard item in column 2, row (1 + (Player number of (Owner of (Killing unit)))) to (String(Multiboard_Kills[(Player number of (Owner of (Killing unit)))]))
 
Status
Not open for further replies.
Top