• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

ranking

Status
Not open for further replies.

007

007

Level 6
Joined
May 3, 2009
Messages
175
i am planning to do a map in which 9 players contest and player 10 has to give points from 1 -10 to each of the other 9 players. i thought of making variables (would integer work? if player 10 gives 1 point then the variable = 1 etc.) for each of the players.
but in the end i want to have a ranking. of course i could make that with a lot of if/then/else but that would take weeks. but the ranking should contain a few things, which make it more difficult: if there are not 9 players the last player should not have position 9 and also if 2 or more players have the same amount of points they should have the same position or player 10 should be able to make another ranking for these players.
e.g. there are 5 players. 1 of them (player 1)has 10 points and 4 have 5 points. player one is in 1st place and all the others had to be 2nd place.

can i somehow order variables?
 
thx. i'll look at it soon.


hm i cant quite see why this should help me. i cant find any trigger where something like a ranking is made. but i must admit that a lot of the triggers in the map were quite confusing to me. could anyone maybe explain how to do it?
 
Last edited:
Status
Not open for further replies.
Back
Top