HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Request: Can some one help me up with this thing ?

12-26-2009, 12:24 PM#1
sasuke1091997
The problem is that it does not list players , tally deats , kills , clock. Can you guys help me out to remake it or fix it ? Il give credits in map .Its a AoS map


Trigger:
Multiboard Setup
Collapse Events
Time - Elapsed game time is 1.00 seconds
Conditions
Collapse Actions
Countdown Timer - Start Game_Time as a One-shot timer that will expire in 999999.00 seconds
Leaderboard - Create a leaderboard for PlayersAlliance titled Alliance
Set LeaderboardAlliance = (Last created leaderboard)
Leaderboard - Hide (Last created leaderboard)
Leaderboard - Create a leaderboard for PlayersScourge titled Scourge
Set LeaderboardScourge = (Last created leaderboard)
Leaderboard - Hide LeaderboardScourge
Collapse Player Group - Pick every player in PlayersAlliance and do (Actions)
Collapse Loop - Actions
Leaderboard - Add (Picked player) to LeaderboardAlliance with label (Name of (Picked player)) and value 0
Collapse Player Group - Pick every player in PlayersScourge and do (Actions)
Collapse Loop - Actions
Leaderboard - Add (Picked player) to LeaderboardScourge with label (Name of (Picked player)) and value 0
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
Multiboard_ShowDeaths Equal to True
Collapse Then - Actions
Trigger - Turn on Tally Deaths <gen>
Else - Actions

Trigger:
Create Multiboard
Collapse Events
Time - Elapsed game time is 1.00 seconds
Conditions
Collapse Actions
Multiboard - Create a multiboard with 4 columns and (6 + PlayersCount) rows, titled Clash In Northrend
Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Player
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
Multiboard_ShowDeaths Equal to True
Collapse Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Dead
Collapse Else - Actions
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to Kills
Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to Deaths
-------- Now set the fields for the first row, AND our player rows. --------
Multiboard - Set the display style for (Last created multiboard) item in column 0, row 0 to Show text and Hide icons
Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 10.00% of the total screen width
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
Multiboard_ShowDeaths Equal to True
Collapse Then - Actions
Multiboard - Set the width for (Last created multiboard) item in column 2, row 0 to 4.00% of the total screen width
Collapse Else - Actions
Multiboard - Set the width for (Last created multiboard) item in column 2, row 0 to 0.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 0 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 4, row 0 to 5.00% of the total screen width
Multiboard - Set the color for (Last created multiboard) item in column 2, row 0 to (70.00%, 70.00%, 70.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 3, row 0 to (70.00%, 70.00%, 70.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 4, row 0 to (70.00%, 70.00%, 70.00%) with 0.00% transparency
-------- DEFINE PLAYERS ON THE BOARD --------
Trigger - Turn on Sort Multiboard <gen>
-------- Alliance Team --------
Set TempInteger = 2
Set Multiboard_Spots[1] = TempInteger
Multiboard - Set the text for (Last created multiboard) item in column 1, row TempInteger to PlayerNamez[1]
Multiboard - Set the text for (Last created multiboard) item in column 2, row TempInteger to
Multiboard - Set the text for (Last created multiboard) item in column 3, row TempInteger to 0
Multiboard - Set the text for (Last created multiboard) item in column 4, row TempInteger to 0
-------- Scourge Team --------
Set TempInteger = ((Number of players in PlayersSentinel) + 4)
Set Multiboard_Spots[7] = TempInteger
Multiboard - Set the text for (Last created multiboard) item in column 1, row TempInteger to PlayerNamez[7]
Multiboard - Set the text for (Last created multiboard) item in column 2, row TempInteger to
Multiboard - Set the text for (Last created multiboard) item in column 3, row TempInteger to 0
Multiboard - Set the text for (Last created multiboard) item in column 4, row TempInteger to 0
-------- Clock --------
Set Multiboard_Clock = ((Number of players) + 6)
Multiboard - Set the text for (Last created multiboard) item in column 1, row Multiboard_Clock to Game Time:
Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Clock to 0:00
Multiboard - Set the color for (Last created multiboard) item in column 2, row 1 to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 3, row 1 to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 4, row 1 to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Multiboard - Show (Last created multiboard)

Trigger:
Tally Score
Collapse Events
Unit - A unit Dies
Collapse Conditions
((Dying unit) is A Hero) Equal to True
(Player number of (Owner of (Killing unit))) Greater than 0
(Player number of (Owner of (Killing unit))) Less than or equal to 12
Collapse Actions
Set Score_Kills[(Player number of (Owner of (Killing unit)))] = (Score_Kills[(Player number of (Owner of (Killing unit)))] + 1)
Set Score_Deaths[(Player number of (Owner of (Dying unit)))] = (Score_Deaths[(Player number of (Owner of (Dying unit)))] + 1)
If (((Owner of (Dying unit)) is in PlayersSentinel) Equal to True) then do (Set Score_Deaths[1] = (Score_Deaths[1] + 1)) else do (Do nothing)
If (((Owner of (Dying unit)) is in PlayersScourge) Equal to True) then do (Set Score_Deaths[7] = (Score_Deaths[7] + 1)) else do (Do nothing)
Set TempInteger = (((Hero level of (Dying unit)) x 5) + 100)
Player - Add TempInteger to (Owner of (Killing unit)) Current gold
Game - Display to (All players) the text: (PlayerNames[(Player number of (Owner of (Killing unit)))] + ( has just pawned + (PlayerNames[(Player number of (Owner of (Dying unit)))] + ('s head for an extra + ((String(TempInteger)) + gold.)))))
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in PlayersAlliance) Equal to True
Collapse Then - Actions
Set Score_Kills[1] = (Score_Kills[1] + 1)
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in PlayersScourge) Equal to True
Collapse Then - Actions
Set Score_Kills[7] = (Score_Kills[7] + 1)
Else - Actions
Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Spots[1] to ( + (String(Score_Kills[1])))
Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Spots[7] to ( + (String(Score_Kills[7])))
Multiboard - Set the text for (Last created multiboard) item in column 4, row Multiboard_Spots[1] to ( + (String(Score_Deaths[1])))
Multiboard - Set the text for (Last created multiboard) item in column 4, row Multiboard_Spots[7] to ( + (String(Score_Deaths[7])))

Trigger:
Tally Clock
Collapse Events
Time - Every 1.00 seconds of game time
Conditions
Collapse Actions
Set Game_Minutes = ((Integer((Elapsed time for Game_Time))) / 60)
Set Game_Seconds = ((Integer((Elapsed time for Game_Time))) mod 60)
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
Game_Seconds Greater than or equal to 10
Collapse Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Clock to ((String(Game_Minutes)) + (: + (String(Game_Seconds))))
Collapse Else - Actions
Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Clock to ((String(Game_Minutes)) + (:0 + (String(Game_Seconds))))

Trigger:
Tally Deaths
Collapse Events
Time - Every 1.00 seconds of game time
Collapse Conditions
(RevivableHeroes is empty) Equal to False
Collapse Actions
Collapse Unit Group - Pick every unit in RevivableHeroes and do (Actions)
Collapse Loop - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row Multiboard_Spots[(Player number of (Owner of (Picked unit)))] to (String((Integer((Remaining time for ReviveTimers[(Player number of (Owner of (Picked unit)))])))))

Trigger:
Sort Multiboard
Collapse Events
Time - Every 1.00 seconds of game time
Conditions
Collapse Actions
Collapse Player Group - Pick every player in PlayersAlliance and do (Actions)
Collapse Loop - Actions
Leaderboard - Change the value for (Picked player) in LeaderboardAlliance to ((Score_Kills[(Player number of (Picked player))] x 10000) - Score_Deaths[(Player number of (Picked player))])
Collapse Player Group - Pick every player in PlayersScourge and do (Actions)
Collapse Loop - Actions
Leaderboard - Change the value for (Picked player) in LeaderboardScourge to ((Score_Kills[(Player number of (Picked player))] x 10000) - Score_Deaths[(Player number of (Picked player))])
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
Sort_Board_By_Kills Equal to True
Collapse Then - Actions
Leaderboard - Sort LeaderboardAlliance by Value in Descending order
Leaderboard - Sort LeaderboardScourge by Value in Descending order
Collapse Else - Actions
Leaderboard - Sort LeaderboardAlliance by Player in Ascending order
Leaderboard - Sort LeaderboardScourge by Player in Ascending order
Set TempInteger = 2
Collapse Player Group - Pick every player in PlayersAlliance and do (Actions)
Collapse Loop - Actions
Set Multiboard_Spots[(Player number of (Picked player))] = ((Position of (Picked player) in LeaderboardAlliance) + TempInteger)
Set TempInteger = ((Number of players in PlayersAlliance) + 4)
Collapse Player Group - Pick every player in PlayersScourge and do (Actions)
Collapse Loop - Actions
Set Multiboard_Spots[(Player number of (Picked player))] = ((Position of (Picked player) in LeaderboardScourge) + TempInteger)
Collapse Player Group - Pick every player in Players and do (Actions)
Collapse Loop - Actions
Set TempInteger = (Player number of (Picked player))
Multiboard - Set the text for (Last created multiboard) item in column 1, row Multiboard_Spots[TempInteger] to PlayerNames[TempInteger]
Multiboard - Set the text for (Last created multiboard) item in column 2, row Multiboard_Spots[TempInteger] to
Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Spots[TempInteger] to ( + (String(Score_Kills[TempInteger])))
Multiboard - Set the text for (Last created multiboard) item in column 4, row Multiboard_Spots[TempInteger] to ( + (String(Score_Deaths[TempInteger])))

12-26-2009, 06:55 PM#2
Won-Qu
Perhaps if you made a picture of how should it look like (simple .bmp file) I could help you with triggering it?
12-26-2009, 07:46 PM#3
sasuke1091997


Upper right corner...but don't name it Allpick...put name Clash In Northrend...and thanks for trying to help me !!! i really apreciate :)

EDIT: at Dead? its time untill hero is revived. at my map its 6
12-26-2009, 11:51 PM#4
Won-Qu
Expect the script soon, will send you in less than 15 hours from now (gotta sleep, meh).
12-27-2009, 12:14 PM#5
sasuke1091997
okey , im waiting :)
12-27-2009, 01:04 PM#6
Won-Qu
I give it for public use, I hope it's easy to edit, perhaps with credit, a +rep would come ;P ? I hope it's useful. Try hitting test before looking at triggers, do "whosyourdaddy" cheat and kill enemies, then try killing allies (read messages etc etc).
Tried to make it 100% as in DotA, hope I did well.

If you notice some bugs/want improvements - PM me.
Attached Files
File type: w3xTable.w3x (273.6 KB)
12-27-2009, 01:13 PM#7
Tide-Arc Ephemera
This should be in Triggers & Scripts.
12-27-2009, 01:38 PM#8
sasuke1091997
Quote:
Originally Posted by Won-Qu
I give it for public use, I hope it's easy to edit, perhaps with credit, a +rep would come ;P ? I hope it's useful. Try hitting test before looking at triggers, do "whosyourdaddy" cheat and kill enemies, then try killing allies (read messages etc etc).
Tried to make it 100% as in DotA, hope I did well.

If you notice some bugs/want improvements - PM me.

thank you !

Can i remove kill msgs ? i allready got :D
12-27-2009, 01:52 PM#9
Won-Qu
Quote:
Originally Posted by sasuke1091997
thank you !

Can i remove kill msgs ? i allready got :D

Just kill the trigger?
12-27-2009, 02:30 PM#10
sasuke1091997
how to set it so hero revives at its start location in 6x hero level time ??
12-27-2009, 02:40 PM#11
Won-Qu
If I told you, you wouldn't learn anything, only tip is - check HeroRevive trigger =.='
12-27-2009, 02:51 PM#12
sasuke1091997
man , i requested this because i don't understand anything in multiboards...so...
I set it to 6 seconds but i don't get it with the start location...
12-27-2009, 03:22 PM#13
Won-Qu
Trigger:
HeroRevive
Collapse Events
Time - Timer Expires
Collapse Actions
Set TempPoint = Center of YouReviveRegion<gen> / This one!!!!
Hero - Revive hero at TempPoint

Kind of this?
12-27-2009, 05:36 PM#14
sasuke1091997
EDIT: something is bad !!!
look:

12-27-2009, 07:46 PM#15
Won-Qu
It is not, there are just no players in enemy team, and you are only one in your team. Also you gotta edit the trigger which sets icon. It's named "Icons" if I remember correctly.

Edit: Oh crap, I see now the first row, let me check it out.