Multiboard is putting kills & deaths in negative?

Mr.Tutorial

Hard in the Paint.
Reaction score
42
So I'm having this problem with this multiboard that displays kills and deaths. It should +1 to kills when someone is killed, and deaths should go up to when someone dies, but the problem is instead of +1 to kills or deaths, it will go -1.

I think I just need someone else to take a look:

Code:
Create Multiboard
    Events
        Time - MyTimer expires
    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 |cFF008000-- Archer...
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to |cFF008000Players|r
        Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to |cFF008000Kills|r
        Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to |cFF008000Deaths|r
        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 1.50% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 10.00% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 3.50% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 4, row (Integer A) to 3.50% 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\BTNArcher.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:
Player Kills Update
    Events
        Unit - A unit Dies
    Conditions
        ((Owner of (Killing unit)) controller) Equal to User
    Actions
        Set Kill_Count[(Player number of (Owner of (Killing unit)))] = (Kill_Count[(Player number of (Owner of (Killing unit)))] + 1)
        Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to (String(Kill_Count[(Player number of (Owner of (Killing unit)))]))

Code:
Player Deaths Update
    Events
        Unit - A unit Dies
    Conditions
        (((Dying unit) is A Hero) Equal to True) and (((Owner of (Dying unit)) controller) Equal to User)
    Actions
        Set Death_Count[(Player number of (Owner of (Dying unit)))] = (Death_Count[(Player number of (Owner of (Dying unit)))] + 1)
        Multiboard - Set the text for (Last created multiboard) item in column 4, row Multiboard_Spots[(Player number of (Owner of (Dying unit)))] to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))

All help appreciated!
 
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