• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Problem with Multiboard Display Order.

Status
Not open for further replies.
Level 5
Joined
Jul 27, 2008
Messages
87
Hey folks. My problem is something I'm not quite sure how to work around, perhaps someone can help. I doubt code would be necessary, but if it turns out it is, I'd provide it. So here goes.

I'm new to making multiboards, admittedly. Thus far through trial and error and tutorials, I've been able to learn everything I've attempted to implement into my map - but the reason I'm having a problem, is that I have 3 factions in my AoS map.

So generally, what I seem to be seeing is that it's pretty easy to set a multiboard to display players in order, but my map is set up as follows:

Players 1-3 user controlled, Player 4 is computer.

Players 5-7 user controlled, Player 8 is computer.

Players 9-11 user controlled, Player 12 is computer.


So, I've got 3 teams of 3 players each, with one computer controlling all the spawns on the map for each team. Everything works great with my map, but when making a multiboard, I can't seem to figure out a way to make it so that the headers for each team's computer controlled player are displayed ABOVE the team's user players, in a descending order. For example, I want it to look something like:

Computer Teamname (player 4)
player1
player2
player3
Computer Teamname (player 8)
player5
player6
player7
Computer Teamname (player 12)
player9
player10
player11


So my question is, does anyone have any idea how I would go about setting it so that the computer players are not in an exact order, but that the information still displays correctly for all user players? The only tutorials I could find didn't provide me with any help for 3-team map creation, just 2. Thanks in advance to anyone who knows the answer.
 
Level 12
Joined
Apr 15, 2008
Messages
1,063
I don't really see the problem there, because you can (and must) set each player's multiboard-row when you put them in there. Just set the row differently for computer and user players.
  • Create multiboard
  • Actions
    • For (Integer A) from 1 to 12
      • If (Player Controller of PLayer(Integer A) equals to User)
        • Multiboard - set item value in row ( Integer A + 1 ) .... to Player name(Integer A)
      • Else
        • Multiboard - set item value in row ( Integer A - 3 ) .... to Player name(Integer A)
When adjusting players values, just use the row (Player number + 1)
 
Status
Not open for further replies.
Top