HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help on multiboard

08-07-2004, 10:53 PM#1
iplaystarcraft
AHHHHH!!!!!
I need help on making a kill board thing!!!
I dont no how but i want the kill board to be like the 1 on DotA!!

PLZ HELP!!!! :o
08-07-2004, 11:11 PM#2
ppierce
Well first I'm guessing its a leaderboard not multiboard, but I don't play DOTA or ever play bnet just to add.


First make an integer variable for every player that you want kills tracked


Creating the leaderboard (actions are located under leaderboard)

*Whatever*
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Kills
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label Player 1 Kills and value PLAYER1 [This is the variable]

=-=-=--=-=-=-=-=-=-=-=-=

Lalala
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Killing unit)) Equal to Player 1 (Red)
Then - Actions
Set PLayer1 = (PLayer1 + 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to PLayer1
Else - Actions
Do nothing

Hope this helped :god_help_us:
08-08-2004, 07:42 AM#3
iplaystarcraft
Quote:
Originally Posted by ppierce
Well first I'm guessing its a leaderboard not multiboard, but I don't play DOTA or ever play bnet just to add.


First make an integer variable for every player that you want kills tracked


Creating the leaderboard (actions are located under leaderboard)

*Whatever*
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Kills
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label Player 1 Kills and value PLAYER1 [This is the variable]

=-=-=--=-=-=-=-=-=-=-=-=

Lalala
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Killing unit)) Equal to Player 1 (Red)
Then - Actions
Set PLayer1 = (PLayer1 + 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to PLayer1
Else - Actions
Do nothing

Hope this helped :god_help_us:


Wow thanks this does help!!! but i have a new question!!!

I went to download the spells from the spell download link, i copied the abillity after downloading it, then i pasted it on my map but THEY DONT WORK plz some one help!!!!! btw thx 4 the leaderboard tip
08-08-2004, 05:45 PM#4
Rafael Br
Look if the spells does not have any explation about how to implement, if not, this could be one of your problems:
1 - You should copy the triggers and all of the units\abillites required for the spell, then you should fix the triggers, making then to refer the right abillity, very easy if the spell is on GUI, but, if it is in JASS, you will have to find the code, to do this, go to the object editor and mark the option "display values as raw data", copy the 4 leter code of the abillites, or units used by the spell then replace it on the jass trigger.
2 - Check the spell map custom script section, the spell could require some function of there, specially if you are using any spell sistem.
3 - If it still not working, talk with the spell autor.
08-08-2004, 05:51 PM#5
iplaystarcraft
Quote:
Originally Posted by Rafael Br
Look if the spells does not have any explation about how to implement, if not, this could be one of your problems:
1 - You should copy the triggers and all of the units\abillites required for the spell, then you should fix the triggers, making then to refer the right abillity, very easy if the spell is on GUI, but, if it is in JASS, you will have to find the code, to do this, go to the object editor and mark the option "display values as raw data", copy the 4 leter code of the abillites, or units used by the spell then replace it on the jass trigger.
2 - Check the spell map custom script section, the spell could require some function of there, specially if you are using any spell sistem.
3 - If it still not working, talk with the spell autor.

Wow thank you so much i will try this now! :god_help_us:
08-08-2004, 10:06 PM#6
iplaystarcraft
Quote:
Originally Posted by Rafael Br
Look if the spells does not have any explation about how to implement, if not, this could be one of your problems:
1 - You should copy the triggers and all of the units\abillites required for the spell, then you should fix the triggers, making then to refer the right abillity, very easy if the spell is on GUI, but, if it is in JASS, you will have to find the code, to do this, go to the object editor and mark the option "display values as raw data", copy the 4 leter code of the abillites, or units used by the spell then replace it on the jass trigger.
2 - Check the spell map custom script section, the spell could require some function of there, specially if you are using any spell sistem.
3 - If it still not working, talk with the spell autor.

Well it looks like i need 2 talk with the spell author :(
03-14-2005, 12:58 AM#7
j0sh4tran
hey, i dont get ur first action on ur second trigger