mutibroad not working right

Lmfaocj

Active Member
Reaction score
1
Multiboard not working right

well my mutibroad is not working how i want it to, but i don't know what is the problem please help me.

Trigger:
  • Create Multiboard
    • Events
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 4 columns and 14 rows, titled |cffdc143cGuild|r |...
      • Multiboard - Minimize (Last created multiboard)
      • For each (Integer A) from 1 to 14, do (Actions)
        • Loop - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row (Integer A) to (|cffb4b4b4 + (Not in game + |r))
          • Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 10.00% of the total screen width
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer A) to 0
          • Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 4.00% of the total screen width
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row (Integer A) to 0
          • Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 8.00% of the total screen width
          • Multiboard - Set the text for (Last created multiboard) item in column 4, row (Integer A) to 0
          • Multiboard - Set the width for (Last created multiboard) item in column 4, row (Integer A) to 4.00% of the total screen width
      • -------- guild1 --------
      • 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 (Name of Neutral Extra)
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 1 to 10.00% of the total screen width
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to ((String(Score_kills[20])) + Kills)
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 1 to 4.00% of the total screen width
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to ((String(Score_Deaths[20])) + Deaths)
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 1 to 6.00% of the total screen width
      • Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to Other
      • Multiboard - Set the width for (Last created multiboard) item in column 4, row 1 to 3.00% of the total screen width
      • -------- guild2 --------
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 8 to (Name of Neutral Victim)
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 8 to 10.00% of the total screen width
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 8 to ((String(Score_kills[21])) + Kills)
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 8 to 4.00% of the total screen width
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 8 to ((String(Score_Deaths[21])) + Deaths)
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 8 to 6.00% of the total screen width
      • Multiboard - Set the text for (Last created multiboard) item in column 4, row 8 to Other
      • Multiboard - Set the width for (Last created multiboard) item in column 4, row 8 to 3.00% of the total screen width
      • -------- Player Set up --------
      • Player Group - Pick every player in (All allies of Neutral Extra) and do (Actions)
        • Loop - Actions
          • Set PlayerNames[(Player number of (Picked player))] = (Name of (Player((Player number of (Picked player)))))
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row ((Player number of (Picked player)) + 1) to (Color[(Player number of (Picked player))] + (PlayerNames[(Player number of (Picked player))] + |r))
          • Multiboard - Set the width for (Last created multiboard) item in column 1, row ((Player number of (Picked player)) + 1) to 10.00% of the total screen width
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row (1 + (Player number of (Picked player))) to 0
          • Multiboard - Set the width for (Last created multiboard) item in column 2, row (1 + (Player number of (Picked player))) to 4.00% of the total screen width
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row (1 + (Player number of (Picked player))) to 0
          • Multiboard - Set the width for (Last created multiboard) item in column 3, row (1 + (Player number of (Picked player))) to 8.00% of the total screen width
          • Multiboard - Set the text for (Last created multiboard) item in column 4, row (1 + (Player number of (Picked player))) to 0
          • Multiboard - Set the width for (Last created multiboard) item in column 4, row (1 + (Player number of (Picked player))) to 4.00% of the total screen width
          • Multiboard - Set the display style for (Last created multiboard) item in column 1, row (1 + (Player number of (Picked player))) to Show text and Show icons
          • Multiboard - Set the icon for (Last created multiboard) item in column 1, row (1 + (Player number of (Picked player))) to ReplaceableTextures\WorldEditUI\DoodadPlaceholder.blp
      • Player Group - Pick every player in (All allies of Neutral Victim) and do (Actions)
        • Loop - Actions
          • Set PlayerNames[(Player number of (Picked player))] = (Name of (Player((Player number of (Picked player)))))
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row ((Player number of (Picked player)) + 2) to (Color[(Player number of (Picked player))] + (PlayerNames[(Player number of (Picked player))] + |r))
          • Multiboard - Set the width for (Last created multiboard) item in column 1, row ((Player number of (Picked player)) + 2) to 10.00% of the total screen width
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row (2 + (Player number of (Picked player))) to 0
          • Multiboard - Set the width for (Last created multiboard) item in column 2, row (2 + (Player number of (Picked player))) to 4.00% of the total screen width
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row (2 + (Player number of (Picked player))) to 0
          • Multiboard - Set the width for (Last created multiboard) item in column 3, row (2 + (Player number of (Picked player))) to 8.00% of the total screen width
          • Multiboard - Set the text for (Last created multiboard) item in column 4, row (2 + (Player number of (Picked player))) to 0
          • Multiboard - Set the width for (Last created multiboard) item in column 4, row (2 + (Player number of (Picked player))) to 4.00% of the total screen width
          • Multiboard - Set the display style for (Last created multiboard) item in column 1, row (2 + (Player number of (Picked player))) to Show text and Show icons
          • Multiboard - Set the icon for (Last created multiboard) item in column 1, row (2 + (Player number of (Picked player))) to ReplaceableTextures\WorldEditUI\DoodadPlaceholder.blp
      • Multiboard - Maximize (Last created multiboard)


Trigger:
  • Kills and Deaths
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player number of (Owner of (Triggering unit))) Less than 7
        • Then - Actions
          • Set Score_Deaths[(Player number of (Triggering player))] = (Score_Deaths[(Player number of (Triggering player))] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row (1 + (Player number of (Owner of (Triggering unit)))) to (String(Score_Deaths[(Player number of (Owner of (Triggering unit)))]))
        • Else - Actions
          • Set Score_Deaths[(Player number of (Triggering player))] = (Score_Deaths[(Player number of (Triggering player))] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row (2 + (Player number of (Owner of (Triggering unit)))) to (String(Score_Deaths[(Player number of (Owner of (Triggering unit)))]))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player number of (Owner of (Killing unit))) Less than 7
        • Then - Actions
          • Set Score_kills[(Player number of (Owner of (Killing unit)))] = (Score_kills[(Player number of (Owner of (Killing unit)))] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row (1 + (Player number of (Owner of (Killing unit)))) to (String(Score_kills[(Player number of (Owner of (Killing unit)))]))
        • Else - Actions
          • Set Score_kills[(Player number of (Owner of (Killing unit)))] = (Score_kills[(Player number of (Owner of (Killing unit)))] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row (2 + (Player number of (Owner of (Killing unit)))) to (String(Score_kills[(Player number of (Owner of (Killing unit)))]))


Trigger:
  • Creep Kills
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to False
      • (Player number of (Owner of (Killing unit))) Greater than 0
      • (Player number of (Owner of (Killing unit))) Less than or equal to 12
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Owner of (Killing unit)) is an ally of Neutral Extra) Equal to True
        • Then - Actions
          • Set Score_CreepKills[(Player number of (Owner of (Killing unit)))] = (Score_CreepKills[(Player number of (Owner of (Killing unit)))] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 4, row (1 + (Player number of (Owner of (Killing unit)))) to (String(Score_CreepKills[(Player number of (Owner of (Killing unit)))]))
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Owner of (Killing unit)) is an ally of Neutral Victim) Equal to True
        • Then - Actions
          • Set Score_CreepKills[(Player number of (Owner of (Killing unit)))] = (Score_CreepKills[(Player number of (Owner of (Killing unit)))] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 4, row (2 + (Player number of (Owner of (Killing unit)))) to (String(Score_CreepKills[(Player number of (Owner of (Killing unit)))]))
        • Else - Actions


Trigger:
  • Team Score
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Owner of (Triggering unit)) is an ally of Neutral Extra) Equal to True
        • Then - Actions
          • Set Score_kills[21] = (Score_kills[21] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 8 to ((String(Score_kills[21])) + Kills)
          • Set Score_Deaths[20] = (Score_Deaths[20] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to ((String(Score_Deaths[20])) + Deaths)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Owner of (Killing unit)) is an ally of Neutral Extra) Equal to True
        • Then - Actions
          • Set Score_kills[20] = (Score_kills[20] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to ((String(Score_kills[20])) + Kills)
          • Set Score_Deaths[21] = (Score_Deaths[21] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row 8 to ((String(Score_Deaths[21])) + Deaths)
        • Else - Actions


does anyone know what i did wrong ??
 

Lmfaocj

Active Member
Reaction score
1
i don't know whats wrong but when player 7 kills a unit a he gets 2 kills and 1 death but when he dies he gets 1 death and theres more like some times player 2 will get kills and deaths when i was only testing player 6 and 7
 

IronTrout

New Member
Reaction score
20
Trigger:
  • Deaths
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Set Killer = (Killing unit)
      • Set Killed = (Dying unit)
      • Set Kill_Counter[(Player number of (Owner of Killer))] = (Kill_Counter[(Player number of (Owner of Killer))] + 1)
      • Set Kill_DeathCounter[(Player number of (Owner of Killed))] = (Kill_DeathCounter[(Player number of (Owner of Killed))] + 1)


Use something like that. Thats a lot of code if all you need to do is check kills and deaths. And i didn't have a problem with that. Just to show the kills/deaths on the multiboard, set the text to be kill_counter and Kill_DeathCounter respectively
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top