Dota Template multiboard works fine when I add it to my map it doesn't work

error0024

New Member
Reaction score
8
Code:
Events : none
codition : none
Actions
    -------- All players --------
    Set Players = (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)))
    Set LastHeroStanding = (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)))
    Set PlayersCount = (Number of players in Players)
    Player Group - Pick every player in Players and do (Actions)
        Loop - Actions
            Player - Set (Picked player) Food cap to 6
    -------- Sentinel --------
    Set PlayersSentinel = (All allies of Player 1 (Red))
    Player Group - Remove Player 1 (Red) from PlayersSentinel
    Set PlayersSentinelCount = (Number of players in PlayersSentinel)
    Set PlayersSentinelReverse = (All allies of Player 1 (Red))
    Player Group - Remove Player 1 (Red) from PlayersSentinelReverse
    Set PlayersSentinelPlaying = (All allies of Player 1 (Red))
    Player Group - Remove Player 1 (Red) from PlayersSentinelPlaying
    -------- Scourge --------
    Set PlayersScourge = (All allies of Player 12 (Brown))
    Player Group - Remove Player 12 (Brown) from PlayersScourge
    Set PlayersScourgeCount = (Number of players in PlayersScourge)
    Set PlayersScourgeReverse = (All allies of Player 12 (Brown))
    Player Group - Remove Player 12 (Brown) from PlayersScourgeReverse
    Set PlayersScourgePlaying = (All allies of Player 12 (Brown))
    Player Group - Remove Player 12 (Brown) from PlayersScourgePlaying
    -------- General --------
    Player - Turn Gives bounty On for Player 1 (Red)
    Player - Turn Gives bounty On for Player 12 (Brown)
    Player - Turn Gives bounty On for Neutral Hostile

Events
    Time - Elapsed game time is 10.00 seconds
codition : none
Actions
    Set Player_Colors[1] = |c00ff0303
    Set Player_Colors[2] = |c000042ff
    Set Player_Colors[3] = |c001ce6b9
    Set Player_Colors[4] = |c00540081
    Set Player_Colors[5] = |c00fffc01
    Set Player_Colors[6] = |c00ff8000
    Set Player_Colors[7] = |c0020c000
    Set Player_Colors[8] = |c00e55bb0
    Set Player_Colors[9] = |c00959697
    Set Player_Colors[10] = |c007ebff1
    Set Player_Colors[11] = |c00106246
    Set Player_Colors[12] = |c004e2a04
    Set Multiboard_ShowDeaths = True
    For each (Integer A) from 1 to 12, do (Actions)
        Loop - Actions
            Set PlayerNames[(Integer A)] = ((Player_Colors[(Integer A)] + (Name of (Player((Integer A))))) + |r)

Events
    Unit - A unit Finishes reviving
Conditions
    ((Reviving Hero) is in RevivableHeroes) Equal to True
Actions
    Unit Group - Remove (Reviving Hero) from RevivableHeroes
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            Multiboard_ShowDeaths Equal to True
        Then - Actions
            Multiboard - Set the text for Multiboard item in column 2, row Multiboard_Spots[(Player number of (Owner of (Reviving Hero)))] to  
        Else - Actions
            Countdown Timer - Destroy RevivableTimersWindows[(Player number of (Owner of (Reviving Hero)))]
    Camera - Pan camera for (Owner of (Reviving Hero)) to (Position of (Reviving Hero)) over 0.60 seconds
    Selection - Select (Reviving Hero) for (Owner of (Reviving Hero))

Events
    Time - ReviveTimers[2] expires
    Time - ReviveTimers[3] expires
    Time - ReviveTimers[4] expires
    Time - ReviveTimers[5] expires
    Time - ReviveTimers[6] expires
    Time - ReviveTimers[7] expires
    Time - ReviveTimers[8] expires
    Time - ReviveTimers[9] expires
    Time - ReviveTimers[10] expires
    Time - ReviveTimers[11] expires
Conditions
Actions
    Unit Group - Pick every unit in RevivableHeroes and do (Actions)
        Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Remaining time for ReviveTimers[(Player number of (Owner of (Picked unit)))]) Less than 1.00
                Then - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            ((Owner of (Picked unit)) is in PlayersSentinel) Equal to True
                        Then - Actions
                            Hero - Instantly revive (Picked unit) at (Center of Good Force Revival <gen>), Show revival graphics
                        Else - Actions
                            Hero - Instantly revive (Picked unit) at (Center of Evil Force Revival <gen>), Show revival graphics
                Else - Actions

Events
    Unit - A unit Dies
Conditions
    ((Dying unit) is A Hero) Equal to True
Actions
    Unit Group - Add (Dying unit) to RevivableHeroes
    Set TempReal = (((Real((Hero level of (Dying unit)))) x Hero_Revive_Time_Factor) + 5.00)
    If (UberMode_On Equal to True) then do (Set TempReal = (TempReal x 0.50)) else do (Do nothing)
    Countdown Timer - Start ReviveTimers[(Player number of (Owner of (Dying unit)))] as a One-shot timer that will expire in TempReal seconds
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            Multiboard_ShowDeaths Equal to False
        Then - Actions
            Countdown Timer - Create a timer window for (Last started timer) with title (Name of (Owner of (Dying unit)))
            Countdown Timer - Show (Last created timer window) for (Owner of (Dying unit))
            Set RevivableTimersWindows[(Player number of (Owner of (Dying unit)))] = (Last created timer window)
        Else - Actions
Events
    Time - Elapsed game time is 12.00 seconds
Actions
    Countdown Timer - Start Game_Time as a One-shot timer that will expire in 999999.00 seconds
    Leaderboard - Create a leaderboard for PlayersSentinel titled Good Force
    Set LeaderboardSentinel = (Last created leaderboard)
    Leaderboard - Hide LeaderboardSentinel
    Leaderboard - Create a leaderboard for PlayersScourge titled Evil Force
    Set LeaderboardScourge = (Last created leaderboard)
    Leaderboard - Hide LeaderboardScourge
    Player Group - Pick every player in PlayersSentinel and do (Actions)
        Loop - Actions
            Leaderboard - Add (Picked player) to LeaderboardSentinel with label (Name of (Picked player)) and value 0
    Player Group - Pick every player in PlayersScourge and do (Actions)
        Loop - Actions
            Leaderboard - Add (Picked player) to LeaderboardScourge with label (Name of (Picked player)) and value 0
    Trigger - Run Create Multiboard <gen> (ignoring conditions)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            Multiboard_ShowDeaths Equal to True
        Then - Actions
            Trigger - Turn on Tally Deaths <gen>
        Else - Actions
Actions
    Multiboard - Create a multiboard with 4 columns and (6 + PlayersCount) rows, titled The Good Vs Evil Fo...
    Set Multiboard = (Last created multiboard)
    Multiboard - Set the text for Multiboard item in column 1, row 1 to Player
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            Multiboard_ShowDeaths Equal to True
        Then - Actions
            Multiboard - Set the text for Multiboard item in column 2, row 1 to Dead
        Else - Actions
    Multiboard - Set the text for Multiboard item in column 3, row 1 to Kills
    Multiboard - Set the text for Multiboard item in column 4, row 1 to Deaths
    -------- Now set the fields for the first row, AND our player rows. --------
    Multiboard - Set the display style for Multiboard item in column 0, row 0 to Show text and Hide icons
    Multiboard - Set the width for Multiboard item in column 1, row 0 to 10.00% of the total screen width
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            Multiboard_ShowDeaths Equal to True
        Then - Actions
            Multiboard - Set the width for Multiboard item in column 2, row 0 to 4.00% of the total screen width
        Else - Actions
            Multiboard - Set the width for Multiboard item in column 2, row 0 to 0.50% of the total screen width
    Multiboard - Set the width for Multiboard item in column 3, row 0 to 3.00% of the total screen width
    Multiboard - Set the width for Multiboard item in column 4, row 0 to 5.00% of the total screen width
    Multiboard - Set the color for Multiboard item in column 2, row 0 to (70.00%, 70.00%, 70.00%) with 0.00% transparency
    Multiboard - Set the color for Multiboard item in column 3, row 0 to (70.00%, 70.00%, 70.00%) with 0.00% transparency
    Multiboard - Set the color for Multiboard item in column 4, row 0 to (70.00%, 70.00%, 70.00%) with 0.00% transparency
    -------- DEFINE PLAYERS ON THE BOARD --------
    Trigger - Run Sort Multiboard <gen> (ignoring conditions)
    -------- Sentinel Team --------
    Set TempInteger = 2
    Set Multiboard_Spots[1] = TempInteger
    Multiboard - Set the text for Multiboard item in column 1, row TempInteger to PlayerNames[1]
    Multiboard - Set the text for Multiboard item in column 2, row TempInteger to  
    Multiboard - Set the text for Multiboard item in column 3, row TempInteger to  0
    Multiboard - Set the text for Multiboard item in column 4, row TempInteger to   0
    -------- Scourge Team --------
    Set TempInteger = ((Number of players in PlayersSentinel) + 4)
    Set Multiboard_Spots[12] = TempInteger
    Multiboard - Set the text for Multiboard item in column 1, row TempInteger to PlayerNames[12]
    Multiboard - Set the text for Multiboard item in column 2, row TempInteger to  
    Multiboard - Set the text for Multiboard item in column 3, row TempInteger to  0
    Multiboard - Set the text for Multiboard item in column 4, row TempInteger to   0
    -------- Clock --------
    Set Multiboard_Clock = (PlayersCount + 6)
    Multiboard - Set the text for Multiboard item in column 1, row Multiboard_Clock to Game Time:
    Multiboard - Set the text for Multiboard item in column 3, row Multiboard_Clock to 0:00
    Multiboard - Set the color for Multiboard item in column 2, row 1 to (100.00%, 100.00%, 100.00%) with 0.00% transparency
    Multiboard - Set the color for Multiboard item in column 3, row 1 to (100.00%, 100.00%, 100.00%) with 0.00% transparency
    Multiboard - Set the color for Multiboard item in column 4, row 1 to (100.00%, 100.00%, 100.00%) with 0.00% transparency
    Multiboard - Show Multiboard
Events
    Unit - A unit Dies
Conditions
    ((Dying unit) is A Hero) Equal to True
    (Player number of (Owner of (Killing unit))) Greater than 0
    (Player number of (Owner of (Killing unit))) Less than or equal to 12
Actions
    Set Score_Kills[(Player number of (Owner of (Killing unit)))] = (Score_Kills[(Player number of (Owner of (Killing unit)))] + 1)
    Set Score_Deaths[(Player number of (Owner of (Dying unit)))] = (Score_Deaths[(Player number of (Owner of (Dying unit)))] + 1)
    If (((Owner of (Dying unit)) is in PlayersSentinel) Equal to True) then do (Set Score_Deaths[1] = (Score_Deaths[1] + 1)) else do (Do nothing)
    If (((Owner of (Dying unit)) is in PlayersScourge) Equal to True) then do (Set Score_Deaths[12] = (Score_Deaths[12] + 1)) else do (Do nothing)
    Set TempInteger = (((Hero level of (Dying unit)) x 5) + 100)
    Player - Add TempInteger to (Owner of (Killing unit)) Current gold
    Game - Display to (All players) the text: (PlayerNames[(Player number of (Owner of (Killing unit)))] + ( has just pawned  + (PlayerNames[(Player number of (Owner of (Dying unit)))] + ('s head for an extra  + ((String(TempInteger)) +  gold.)))))
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            ((Owner of (Killing unit)) is in PlayersSentinel) Equal to True
        Then - Actions
            Set Score_Kills[1] = (Score_Kills[1] + 1)
        Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            ((Owner of (Killing unit)) is in PlayersScourge) Equal to True
        Then - Actions
            Set Score_Kills[12] = (Score_Kills[12] + 1)
        Else - Actions
    Trigger - Run Sort Multiboard <gen> (checking conditions)
    Multiboard - Set the text for Multiboard item in column 3, row Multiboard_Spots[1] to (  + (String(Score_Kills[1])))
    Multiboard - Set the text for Multiboard item in column 3, row Multiboard_Spots[12] to (  + (String(Score_Kills[12])))
    Multiboard - Set the text for Multiboard item in column 4, row Multiboard_Spots[1] to (   + (String(Score_Deaths[1])))
    Multiboard - Set the text for Multiboard item in column 4, row Multiboard_Spots[12] to (   + (String(Score_Deaths[12])))
Events
    Time - Every 1.00 seconds of game time
Actions
    Set Game_Minutes = ((Integer((Elapsed time for Game_Time))) / 60)
    Set Game_Seconds = ((Integer((Elapsed time for Game_Time))) mod 60)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            Game_Seconds Greater than or equal to 10
        Then - Actions
            Multiboard - Set the text for Multiboard item in column 3, row Multiboard_Clock to ((String(Game_Minutes)) + (: + (String(Game_Seconds))))
        Else - Actions
            Multiboard - Set the text for Multiboard item in column 3, row Multiboard_Clock to ((String(Game_Minutes)) + (:0 + (String(Game_Seconds))))
Events
    Time - Every 1.00 seconds of game time
Conditions
    (RevivableHeroes is empty) Equal to False
Actions
    Unit Group - Pick every unit in RevivableHeroes and do (Actions)
        Loop - Actions
            Multiboard - Set the text for Multiboard item in column 2, row Multiboard_Spots[(Player number of (Owner of (Picked unit)))] to (String((Integer((Remaining time for ReviveTimers[(Player number of (Owner of (Picked unit)))])))))
Actions
    Player Group - Pick every player in PlayersSentinel and do (Actions)
        Loop - Actions
            Leaderboard - Change the value for (Picked player) in LeaderboardSentinel to ((Score_Kills[(Player number of (Picked player))] x 10000) - Score_Deaths[(Player number of (Picked player))])
    Player Group - Pick every player in PlayersScourge and do (Actions)
        Loop - Actions
            Leaderboard - Change the value for (Picked player) in LeaderboardScourge to ((Score_Kills[(Player number of (Picked player))] x 10000) - Score_Deaths[(Player number of (Picked player))])
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            Sort_Board_By_Kills Equal to True
        Then - Actions
            Leaderboard - Sort LeaderboardSentinel by Value in Descending order
            Leaderboard - Sort LeaderboardScourge by Value in Descending order
        Else - Actions
            Leaderboard - Sort LeaderboardSentinel by Player in Ascending order
            Leaderboard - Sort LeaderboardScourge by Player in Ascending order
    Set TempInteger = 2
    Player Group - Pick every player in PlayersSentinel and do (Actions)
        Loop - Actions
            Set Multiboard_Spots[(Player number of (Picked player))] = ((Position of (Picked player) in LeaderboardSentinel) + TempInteger)
    Set TempInteger = ((Number of players in PlayersSentinel) + 4)
    Player Group - Pick every player in PlayersScourge and do (Actions)
        Loop - Actions
            Set Multiboard_Spots[(Player number of (Picked player))] = ((Position of (Picked player) in LeaderboardScourge) + TempInteger)
    Player Group - Pick every player in Players and do (Actions)
        Loop - Actions
            Set TempInteger = (Player number of (Picked player))
            Multiboard - Set the text for Multiboard item in column 1, row Multiboard_Spots[TempInteger] to PlayerNames[TempInteger]
            Multiboard - Set the text for Multiboard item in column 2, row Multiboard_Spots[TempInteger] to  
            Multiboard - Set the text for Multiboard item in column 3, row Multiboard_Spots[TempInteger] to (  + (String(Score_Kills[TempInteger])))
            Multiboard - Set the text for Multiboard item in column 4, row Multiboard_Spots[TempInteger] to (   + (String(Score_Deaths[TempInteger])))

ok here's dota templete multiboard i edited something cause player 7 i change to player 12 .... so my map is aos so anyone can help me?
 
B

BlizzScripts

Guest
rofl!!!! so many lines, dude wait the helper mod realse and u will need just 1 line to call the advanced multiboard and you can adjust any color..
 

emjlr3

Change can be a good thing
Reaction score
395
how does it not work? does it do nothing...or what? try sending your map to ace and ryoko, maybe they will take a look and tell you what the deal is
 

mixmax2

RedArmyGangsta
Reaction score
31
perhaps the dota template has triggers that run with each other, so if u just copy one big trigger without changing all of the data to match to your map, of course its not gonna work. theres probably alot of variables and all that other stuff, that are set up in different triggers in the template.
 

error0024

New Member
Reaction score
8
well this trigger is from .... dota templete ok ... i change player 7 to 12 .. and then the multiboard started to have problem when reviving dint show time ... and there's a player name its player 1 name , player 12 name.

so there's no player name! help plz
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> Events : none

The very first trigger you posted here doesn't have an event.
Do you call that trigger from another one that runs with "Map Initialization"? Or is it not running at all?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top