HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

guys i got a prob with a map im makeing...

07-12-2003, 02:43 PM#1
!!The!!ShadoW!!
so... what im trying to do is:
the game will be 2 v 2 and i want that 2 players, player number 1 + player number 2 will be team1 and every kill they make on the other teams army will get them points... lets say they (they=every unit from the team1 units...) kill a hero to no matter if its the player 1 or 2 cuz there both are on team 1 (and player 3+4 are on team 2 and 5+6 are on team 3...)
mm..... o.k... so what I did is this:

Actions:
Leaderboard- Create a Leaderboard for all player bla bla
Leaderboard- Add player this and this with label Team 1 and did it again for all other yeams

and then i did a trigger for every team:

Team1:

Events:
Unit- A units owned by player for the other teams die (i did for every player. like owned by player this owned by player this... till i put all other teams that are vs team 1)

Action:

Leaderboard- Change the value of player 1 (that is in team 1...) to this trigger + 1

o.k and i did it for all other teams...
so the prob is this:
i got in the triggers teams 1 kill player 4=1 point to plyer 1 but i did that if team 2 kill pler 4 too they get a points too... so when i kill so 1 its points for every 1.....
how i make it that only the team the players in the same group that killed will get points?? only them...??
maybe something in the Conditions ???
07-12-2003, 04:49 PM#2
Nemesis9x
uhm.. i really cant understand what ur asking but if u want Team 1 to get a point if they kill a unit from Team 2 you add a condition like Owner of Dying Unit is equal to (A player from team 2). Make two of these conditions if you got two players.
07-12-2003, 08:37 PM#3
!!The!!ShadoW!!
tnx man!
i played abit with the conditions and i made it !

and 1 more thing...

how i do that the team with the high points will be on the top of the board ???

like if the board is like this:

team1=10 kills
team2=9 kills

and team 2 kill 2 more and team 2 got 11 kills so i want here to switch with team 1 and team 2 will be on the top of the board...
how i do that ?
07-12-2003, 10:27 PM#4
Raptor--
theres a leaderboard action that sorts the leaderboard
07-12-2003, 10:53 PM#5
Nemesis9x
just put the Sort leader board action in the same one as when u add a point so it updates right away after each kill.
07-13-2003, 10:54 AM#6
!!The!!ShadoW!!
tnx guys !
it worked too !

another thing guys

i want to make that every team will include 2 player so that if player 1 OR 2 will kill it will add point to the TEAM1

so i think i need for that to make a player group and im haveing prob's with that can u help me ??