Multiboard request/help

Avaleirra

Is back. Probably.
Reaction score
128
Hi I want to create a multiboard but I have no clue how so if I can get some help or someone to do this for me that'd be great.

Details.
It's for 3 different teams.

Red = Horde
Blue = Alliance
Teal = Sentinel

there are 3 players under each team.

Under Horde:
Purple, orange, yellow

Under Alliance:
Green, pink, grey

Under Sentinel:
Dark Green, light blue, brown


It would be cool if the board included

Kills
Deaths
DPS*


*for the dps meter it will detect damage for the player the instant damage is dealt but will cease counting after 2 seconds of dealing no damage. It will then retain the dps and leave it at a number from the last battle (e.g, 30dps). The next time the player enters combat it will begin couting again.
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
Ooo multiboards i have only done leaderboards but ill look if i can see something.
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
Hmm im not sure how multiboards work im reading a tutorial now. Heres a ladderboard that could help. MAKE SURE YOU SET THE TEAMS IN MAP INIT.
Trigger:
  • Setup Board
    • Events
      • Time - Elapsed game time is 0.01 seconds
    • Conditions
    • Actions
      • Leaderboard - Create a leaderboard for (All allies of Player 4 (Purple)) titled Horde
      • Set theboard = (Last created leaderboard)
      • For each (Integer A) from 1 to 3, do (If (((Player((Integer A))) slot status) Equal to Is playing) then do (Leaderboard - Add (Player((Integer A))) to theboard with label (Name of (Player((Integer A)))) and value 0) else do (Do nothing))

Trigger:
  • Update Board
    • Events
    • Conditions
    • Actions
      • Leaderboard - Sort theboard by Value in Descending order
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
I dont think i can help cuz i cant even find how to add players to a multiboard
 

Dinowc

don't expect anything, prepare for everything
Reaction score
223
I dont think i can help cuz i cant even find how to add players to a multiboard

you don't add players to a multiboard

you add nothing but plain text into it (yes icons are also "texts", because they use string values to be located)
 

Dinowc

don't expect anything, prepare for everything
Reaction score
223
don't have time :(

I would need like 2 hours to make it and since it's getting late here, I'm getting pretty tired - when I'm tired, I can't code :banghead:
 

IronTrout

New Member
Reaction score
20
Ahhh DPS meters suck! I made one a while back, but i implemented it onto a leader board.. Here's the code tho. (I used Weep's GDD (http://www.thehelper.net/forums/showthread.php?t=137957)) And it's not a true DPS meter, it's just the average damage of every x moves.
Trigger:
  • Create
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set DPS1_Checker = 0
      • Set DPS2_Checker = 0
      • Wait 2.00 seconds
      • Leaderboard - Create a leaderboard for (All players) titled DPS Meter
      • Leaderboard - Create a leaderboard for (All players) titled DPS Meter
        • Do Multiple ActionsFor each (Integer A) from 1 to 6, do (Actions)
          • Loop - Actions
            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • ((Player((Integer A))) slot status) Equal to (==) Is playing
              • Then - Actions
                • Set DPS_Hero[(Integer A)] = (Random unit from (Units owned by (Player((Integer A))) matching (((Matching unit) is A Hero) Equal to (==) True)))
                  • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • DPS_Hero[(Integer A)] Equal to (==) No unit
                    • Then - Actions
                      • Leaderboard - Add (Player((Integer A))) to (Last created leaderboard) with label (< + (Observing + >)) and value 0
                    • Else - Actions
                      • Leaderboard - Add (Player((Integer A))) to (Last created leaderboard) with label ((< + (Name of (Player((Integer A))))) + >) and value 0
              • Else - Actions
                • Do nothing
      • Trigger - Turn on DPS <gen>

Trigger:
  • DPS
    • Events
      • Game - GDD_Event becomes Equal to 0.00
    • Conditions
    • Actions
      • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Owner of GDD_DamageSource) Equal to (==) Player 1 (Red)
        • Then - Actions
          • Set DPS1_damage[DPS1_Checker] = 0
          • Set DPS1_damage[DPS1_Checker] = (DPS1_damage[DPS1_Checker] + (Integer(GDD_Damage)))
          • Set DPS1_Checker = (DPS1_Checker + 1)
            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • DPS1_Checker Greater than or equal to (>=) 6
              • Then - Actions
                • Set DPS1_Checker = 1
              • Else - Actions
                • Do nothing
          • Set DPS1_Dps = 0
          • Set DPS1_Timer = 5
            • Do Multiple ActionsFor each (Integer A) from 1 to 5, do (Actions)
              • Loop - Actions
                • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • DPS1_damage[(Integer A)] Equal to (==) 0
                  • Then - Actions
                    • Set DPS1_Timer = (DPS1_Timer - 1)
                  • Else - Actions
                    • Set DPS1_Dps = (DPS1_Dps + DPS1_damage[(Integer A)])
          • Set DPS1_Dps = (DPS1_Dps / DPS1_Timer)
          • Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to DPS1_Dps
        • Else - Actions
          • Do nothing
      • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Owner of GDD_DamageSource) Equal to (==) Player 2 (Blue)
        • Then - Actions
          • Set DPS2_damage[DPS2_Checker] = 0
          • Set DPS2_damage[DPS2_Checker] = (DPS2_damage[DPS2_Checker] + (Integer(GDD_Damage)))
          • Set DPS2_Checker = (DPS2_Checker + 1)
            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • DPS2_Checker Greater than or equal to (>=) 6
              • Then - Actions
                • Set DPS2_Checker = 1
              • Else - Actions
                • Do nothing
          • Set DPS2_Dps = 0
          • Set DPS2_Timer = 5
            • Do Multiple ActionsFor each (Integer A) from 1 to 5, do (Actions)
              • Loop - Actions
                • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • DPS2_damage[(Integer A)] Equal to (==) 0
                  • Then - Actions
                    • Set DPS2_Timer = (DPS2_Timer - 1)
                  • Else - Actions
                    • Set DPS2_Dps = (DPS2_Dps + DPS2_damage[(Integer A)])
          • Set DPS2_Dps = (DPS2_Dps / DPS2_Timer)
          • Leaderboard - Change the value for Player 2 (Blue) in (Last created leaderboard) to DPS2_Dps
        • Else - Actions
          • Do nothing
 

Avaleirra

Is back. Probably.
Reaction score
128
Omg thank you!


My only questions are whether the triggers you posted for a multiboard or a leaderboard and does the average damage per X moves include spells.

I don't really care if it's not a true dps meter as long as it works :p
Thanks!

P.S. Could I also grab a trigger to set the multiboard up and include kills and deaths? Sorry, I'll rep you onde this is all done :).
 

IronTrout

New Member
Reaction score
20
It's for a leader board, but it's pretty easy to change over and i'm pretty sure it doesn't include some spell damage, like a storm bolt or a aoe or something. But with triggered spells, it seems to work 75% of the time. (bit unpredictable really). I'll see if i cant make up something pretty for you in terms of multiboards too :)
 

IronTrout

New Member
Reaction score
20
Ahh bugger, now i remember why i wasn't bothered finishing it.. You need to do each DPS trigger for each player.. Bugger.. Umm unless you feel like doing it, i can give you a multiboard and have it set up for player one and two, but i cbf doing another 7 players.
 

Avaleirra

Is back. Probably.
Reaction score
128
I'll do it. With a bunch of copy and paste :).


Just a question. Couldn't you just use the integer A thing for this?

Trigger:
  • For each integer from 4 to 12




P.S. Dont double post. People will get angry at you for it. Just use the edit tool :).
 

IronTrout

New Member
Reaction score
20
Ah, i'm sure they'll get over it :)
lol it's a different topic any how.

And with the for loop.. You cant becauseeee... It requires an array for the Dps1_Damage. I don't think you can make arrays for one variable.. can you?
 

Avaleirra

Is back. Probably.
Reaction score
128
I think you can. Just make Dps_Damage an array and set it up as:

Dps_Damage[1]
Dps_Damage[2]
Dps_Damage[3]
etc...

Or for integer A
Dps_Damage[integer A]
 

IronTrout

New Member
Reaction score
20
Well i've already got it set up like that, to keep track of the damage dealt like
Damage[1] = 1000
Damage[2] = 3212
Damage[3] = 1293

etc..

The issue is, if we put it in as an array that also tracks players, we'd end up with DPS_Damage[(player1)][1] = 1000

with 2 arrays in the one variable.
 

Avaleirra

Is back. Probably.
Reaction score
128
Oh I understand... Ok well, do it your way and I'll finish it off :). Just leave instructions within the trigger comments if something requires mire than copy and paste.
 

IronTrout

New Member
Reaction score
20
Rightio, All done.
Sorry it took so long, i got decidedly hungry, so i ate something :) but it's all done now, heres the link, coming up right aboutttttt NOW! ->View attachment Multiboard.w3x

Oh and i forgot to add in instructions, It's pretty simple, any DPS2_--- variables just needs to be made into DPS3, DPS4 etc.. the numbers represent the player. Then just copy paste each
Trigger:
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Owner of GDD_DamageSource) Equal to Player 2 (Blue)
    • Then - Actions
      • Set DPS2_damage[DPS2_Checker] = 0
      • Set DPS2_damage[DPS2_Checker] = (DPS2_damage[DPS2_Checker] + (Integer(GDD_Damage)))
      • Set DPS2_Checker = (DPS2_Checker + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • DPS2_Checker Greater than or equal to 6
        • Then - Actions
          • Set DPS2_Checker = 1
        • Else - Actions
          • Do nothing
      • Set DPS2_Dps = 0
      • Set DPS2_Timer = 5
      • For each (Integer A) from 1 to 5, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • DPS2_damage[(Integer A)] Equal to 0
            • Then - Actions
              • Set DPS2_Timer = (DPS2_Timer - 1)
            • Else - Actions
              • Set DPS2_Dps = (DPS2_Dps + DPS2_damage[(Integer A)])
      • Set DPS2_Dps = (DPS2_Dps / DPS2_Timer)
    • Else - Actions
      • Do nothing

And change the respective variables with their numbered counterparts :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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