• 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.

LeaderBoard

Status
Not open for further replies.
Level 8
Joined
Oct 8, 2005
Messages
409
example:

  • Createboard
    • Events
    • Conditions
    • Actions
      • Multiboard - Destroy (Last created multiboard)
      • Multiboard - Create a multiboard with 3 columns and 13 rows, titled Kills/Deaths
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 10.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 0 to 5.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 0 to 5.00% of the total screen width
      • Multiboard - Set the display style for (Last created multiboard) item in column 0, row 0 to Show text and Hide icons
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to |cffff0000Human All...
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 3 (Teal) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to (|cffff0000 + ((Name of Player 3 (Teal)) + |r))
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (String(TotalKills[3]))
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row 2 to (String(TotalDeaths[3]))
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 4 (Purple) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to (|cffff0000 + ((Name of Player 4 (Purple)) + |r))
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to (String(TotalKills[4]))
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row 3 to (String(TotalDeaths[4]))
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 5 (Yellow) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to (|cffff0000 + ((Name of Player 5 (Yellow)) + |r))
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 4 to (String(TotalKills[5]))
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row 4 to (String(TotalDeaths[5]))
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 6 (Orange) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row 5 to (|cffff0000 + ((Name of Player 6 (Orange)) + |r))
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 5 to (String(TotalKills[6]))
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row 5 to (String(TotalDeaths[6]))
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 7 (Green) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row 6 to (|cffff0000 + ((Name of Player 7 (Green)) + |r))
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row 6 to (String(TotalDeaths[7]))
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 6 to (String(TotalKills[7]))
        • Else - Actions
          • Do nothing
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 7 to <Empty String>
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 8 to |cff0000ffOrcish Ho...
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 8 (Pink) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row 9 to (|cff0000ff + ((Name of Player 8 (Pink)) + |r))
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 9 to (String(TotalKills[8]))
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row 9 to (String(TotalDeaths[8]))
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 9 (Gray) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row 10 to (|cff0000ff + ((Name of Player 9 (Gray)) + |r))
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 10 to (String(TotalKills[9]))
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row 10 to (String(TotalDeaths[9]))
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 10 (Light Blue) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row 11 to (|cff0000ff + ((Name of Player 10 (Light Blue)) + |r))
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 11 to (String(TotalKills[10]))
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row 11 to (String(TotalDeaths[10]))
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 11 (Dark Green) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row 12 to (|cff0000ff + ((Name of Player 11 (Dark Green)) + |r))
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row 12 to (String(TotalDeaths[11]))
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 12 to (String(TotalKills[11]))
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 12 (Brown) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row 13 to (|cff0000ff + ((Name of Player 12 (Brown)) + |r))
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 13 to (String(TotalKills[12]))
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row 13 to (String(TotalDeaths[12]))
        • Else - Actions
          • Do nothing
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to (String(TotalKills[1]))
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 8 to (String(TotalKills[2]))
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to (String(TotalDeaths[1]))
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 8 to (String(TotalDeaths[2]))
  • Human Kills
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
      • Or - Any (Conditions) are true
        • Conditions
          • (Owner of (Triggering unit)) Equal to Player 3 (Teal)
          • (Owner of (Triggering unit)) Equal to Player 5 (Yellow)
          • (Owner of (Triggering unit)) Equal to Player 7 (Green)
          • (Owner of (Triggering unit)) Equal to Player 9 (Gray)
          • (Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
      • Or - Any (Conditions) are true
        • Conditions
          • (Owner of (Killing unit)) Equal to Player 2 (Blue)
          • (Owner of (Killing unit)) Equal to Player 4 (Purple)
          • (Owner of (Killing unit)) Equal to Player 6 (Orange)
          • (Owner of (Killing unit)) Equal to Player 8 (Pink)
          • (Owner of (Killing unit)) Equal to Player 10 (Light Blue)
          • (Owner of (Killing unit)) Equal to Player 12 (Brown)
    • Actions
      • Set TotalDeaths[1] = (TotalDeaths[1] + 1)
      • Set TotalDeaths[(Player number of (Owner of (Triggering unit)))] = (TotalDeaths[(Player number of (Owner of (Triggering unit)))] + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Owner of (Killing unit)) Not equal to Player 2 (Blue)
        • Then - Actions
          • Set TotalKills[2] = (TotalKills[2] + 1)
        • Else - Actions
      • Set TotalKills[(Player number of (Owner of (Killing unit)))] = (TotalKills[(Player number of (Owner of (Killing unit)))] + 1)
      • Trigger - Run Createboard <gen> (ignoring conditions)
  • Orc Kills
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
      • Or - Any (Conditions) are true
        • Conditions
          • (Owner of (Triggering unit)) Equal to Player 4 (Purple)
          • (Owner of (Triggering unit)) Equal to Player 6 (Orange)
          • (Owner of (Triggering unit)) Equal to Player 8 (Pink)
          • (Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
          • (Owner of (Triggering unit)) Equal to Player 12 (Brown)
      • Or - Any (Conditions) are true
        • Conditions
          • (Owner of (Killing unit)) Equal to Player 1 (Red)
          • (Owner of (Killing unit)) Equal to Player 3 (Teal)
          • (Owner of (Killing unit)) Equal to Player 5 (Yellow)
          • (Owner of (Killing unit)) Equal to Player 7 (Green)
          • (Owner of (Killing unit)) Equal to Player 9 (Gray)
          • (Owner of (Killing unit)) Equal to Player 11 (Dark Green)
    • Actions
      • Set TotalDeaths[2] = (TotalDeaths[2] + 1)
      • Set TotalDeaths[(Player number of (Owner of (Triggering unit)))] = (TotalDeaths[(Player number of (Owner of (Triggering unit)))] + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Owner of (Killing unit)) Not equal to Player 1 (Red)
        • Then - Actions
          • Set TotalKills[1] = (TotalKills[1] + 1)
        • Else - Actions
      • Set TotalKills[(Player number of (Owner of (Killing unit)))] = (TotalKills[(Player number of (Owner of (Killing unit)))] + 1)
      • Trigger - Run Createboard <gen> (ignoring conditions)
 
Status
Not open for further replies.
Top