Multiboard add. :)

Saiza

New Member
Reaction score
10
Hello!

I only need one more thing for my map before it's done and it seems complicated so I ask someone to add it :p

Could someone add a multiboard that does: counts the kills and shows them of each player, it should look like this:

No Food Limits!
Player Names: Kills:
Leazy 10 (This is player 1 so the name should be in red)
Saiza 10000 (Player 2, blue name
Muhaha 2 Player three, teal name
Imrox 0 purple name =)


Oh well, the multiboard 'painting' got pretty fucked up, but I guess you know what I mean



So, it should be like this, for four players,,, when someone leaves it should replace the name with ''Left'' and yeeeh, thats that :D I hope someone could take he's time to do this,,, I will give you creds on the map.
 

Attachments

  • Leazys No Food Limits.w3x
    52.2 KB · Views: 91

Ghan

Administrator - Servers are fun
Staff member
Reaction score
890
Hmm.... This site really isn't for enlisting people to do jobs for you. You should take a look at a multiboard tutorial and see if you can figure it out yourself first. If you run into a problem, come back and post what your issue is. :D
 

Saiza

New Member
Reaction score
10
Yeye, I watched the tutorial but my english aint good enough, so if someone that knows how to do it could spend like 5 minutes of doing it would be great... me and my bros share CD key so we gotta play on local network and i'm just making a no food limits for us to play, so would be great if someone could do this singel thing so I can finnish the map. ya feel me?

Thanks,
 

Saiza

New Member
Reaction score
10
bump.

Could anyone just lend me a hand here?
I doubt it will take more than 5 minutes. :)
 

Rheias

New Helper (I got over 2000 posts)
Reaction score
232
Can be done with a Leaderboard, no need for a multiboard.

Trig 1:

Code:
Create Leaderboard
    Events
        Time - Elapsed game time is 1.00 seconds
    Conditions
    Actions
        Leaderboard - Create a leaderboard for (All players) titled Kills
        Set Leaderboard_Variable = (Last created leaderboard)
        For each (Integer A) from 1 to 12, do (Actions)
            Loop - Actions
                Leaderboard - Add (Player((Integer A))) to Leaderboard_Variable with label (Name of (Triggering player)) and value 0
        Leaderboard - Show Leaderboard_Variable

Trig 2:

Code:
Leaderboard Kills Counter
    Events
        Unit - A unit Dies
    Conditions
        (Owner of (Triggering unit)) Not equal to (Owner of (Killing unit))
    Actions
        Set Integer_Variable[(Player number of (Owner of (Killing unit)))] = (Integer_Variable[(Player number of (Owner of (Killing unit)))] + 1)
        Leaderboard - Change the value for (Owner of (Killing unit)) in Leaderboard_Variable to Integer_Variable[(Player number of (Owner of (Killing unit)))]
        Leaderboard - Sort Leaderboard_Variable by Value in Descending order
 

Saiza

New Member
Reaction score
10
Thanks, thanks.

But that wont make the names colored.. :p

Come on, could someone just add it as I asked on the map? ;D

I will +rep you and give you creds on the map
 

Saiza

New Member
Reaction score
10
kk,,,, I tested it out and it diddent, maybe I did something wrong. But comeon, if you wrote this trigger you could aswell you have added it :p

I dont need to learn anything, this is the only map I will be doing, I dont got enough time for others, so please just help me out with this singel thing guys, I will give you creds, rep and I wont bother you with questions agin.
 

Saiza

New Member
Reaction score
10
Okay, I think I figured out how to do it.

But, one problem remains. Once I enter the game I get critical errors, since I added that leaderboard.

if you have variables with an array index of (really more than about 500-5000) it can completely shut everything down, even basic triggers, every single trigger you have stops working, if that is your problem, look through your variable list for array sizes bigger than 500-8196

Can that be the problem?

Becouse it contains some array things :O


Heres the triggers:

LeaderBoard
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Kills
Set Leaderboard_Variable = (Last created leaderboard)
For each (Integer A) from 1 to 4, do (Actions)
Loop - Actions
Leaderboard - Add (Player((Integer(A)))) to (Last created leaderboard) with label (Name of (Triggering player)) and value 0
Leaderboard - Show Leaderboard_Variable



LeaderBoardKills
Events
Unit - A unit Dies
Conditions
(Owner of (Triggering unit)) Not equal to (Owner of (Killing unit))
Actions
Set Integer_Variable[(Player number of (Owner of (Killing unit)))] = Integer_Variable[((Player number of (Owner of (Killing unit))) + 1)]
Leaderboard - Change the value for (Owner of (Killing unit)) in Leaderboard_Variable to Integer_Variable[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort Leaderboard_Variable by Value in Descending order


I get the critical error exactly when the leader board triggers, after one second.
I changed the time esplade untill it comes up to 20 sec, then it took 20 sec to get error.
 
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