Multiboard + timer problems

SouL-Laka

New Member
Reaction score
2
Code:
Create Multiboard
    Events
        Time - Elapsed game time is 1.00 seconds
    Conditions
    Actions
        Set Player_Count = (Number of players in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing))))
        Multiboard - Create a multiboard with 4 columns and (1 + Player_Count) rows, titled Custom hero arena  
        Set Multib = (Last created multiboard)
        Multiboard - Set the text for Multib item in column 2, row 1 to Player  
        Multiboard - Set the text for Multib item in column 3, row 1 to Kills
        Multiboard - Set the text for Multib item in column 4, row 1 to Deaths  
        For each (Integer A) from 1 to (1 + Player_Count), do (Actions)
            Loop - Actions
                Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Hide icons
                Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Show icons
                Multiboard - Set the display style for (Last created multiboard) item in column 2, row (Integer A) to Show text and Hide icons
                Multiboard - Set the display style for (Last created multiboard) item in column 3, row (Integer A) to Show text and Hide icons
                Multiboard - Set the display style for (Last created multiboard) item in column 4, row (Integer A) to Show text and Hide icons
                Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 3.00% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 6.00% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 3.00% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 4, row (Integer A) to 3.00% of the total screen width
        Set List = 2
        Player Group - Pick every player in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User))) and do (Actions)
            Loop - Actions
                Set Multiboard_Spots[(Player number of (Picked player))] = List
                Multiboard - Set the icon for (Last created multiboard) item in column 1, row List to ReplaceableTextures\CommandButtons\BTNVillagerMan.blp
                Multiboard - Set the text for (Last created multiboard) item in column 2, row List to (Player_Colors[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
                Multiboard - Set the text for (Last created multiboard) item in column 3, row List to 0
                Multiboard - Set the text for (Last created multiboard) item in column 4, row List to 0
                Set List = (List + 1)
        Multiboard - Show (Last created multiboard)


Code:
Time Tracker
    Events
        Time - Every 1.00 seconds of game time
    Conditions
    Actions
        Set Seconds = (Seconds + 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Seconds Equal to 60
            Then - Actions
                Set Seconds = 0
                Set Minutes = (Minutes + 1)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        Minutes Equal to 60
                    Then - Actions
                        Set Minutes = 0
                        Set Hour = (Hour + 1)
                    Else - Actions
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Seconds Less than 10
            Then - Actions
                Set SecondString = (0 + (String(Seconds)))
            Else - Actions
                Set SecondString = (String(Seconds))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Minutes Less than 10
            Then - Actions
                Set MinutesString = (0 + (String(Minutes)))
            Else - Actions
                Set MinutesString = (String(Minutes))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Hour Less than 10
            Then - Actions
                Set HourString = (0 + (String(Hour)))
            Else - Actions
                Set HourString = (String(Hour))
        Multiboard - Set the text for Multib item in column 1, row (Integer A) to (HourString + (: + (MinutesString + (: + SecondString))))

i cant get the timer to show like i want in the multiboard which is like the last thing under everything
and when it does show, it does add time or anything
whats wrong ?XD
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> Multiboard - Set the text for Multib item in column 1, row (Integer A)

You don't have any "integer A".
I guess you want to use the last value of "list"?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top