HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Bah!

10-16-2003, 06:36 AM#1
HEZZA
CHRIST SAKE i followed this tutorial but the score boards arnt working, they are set up fine . Its just that it doesnt add points if u kill or get killed an enemy hero.
there are 5v5 heros i want the player to get a kill for killing an enemy hero this is what i have
10-16-2003, 06:48 AM#2
Zachary_Shadow
Try removing that condition, that looks wierd...
10-16-2003, 06:51 AM#3
Ligature
Er, there's nothing in your actions that has anything to do with a Leaderboard...

Perhaps you thought that because a Leaderboard you created earlier used that kills array, it would automatically be updated whenever the array was updated... no such luck, I'm afraid. You'll have to add an action that refreshes the value on the board for the owner of the killing unit.
10-16-2003, 09:28 AM#4
HEZZA
i tried removing the condition.


how would i do this refresh?
10-16-2003, 10:54 AM#5
BlackSlash
Remove Condition. You don't need this check

Then remember that updating values in your array this don't mean that leaderboard autoupdate himself...you must set the value everytime with:

Leaderboard - Change the value for (Owner of (Killing unit)) in [myleaderboard] to kills[Player Number(Owner of (Killing unit))].

I hope this helps you.
10-16-2003, 01:19 PM#6
Panto
Hm, actually, there's no reason to remove the condition, and it does make the killboard a little more accurate.

However, you should swap "Triggering Unit" for "Dying Unit". Using the most specific event response is always best.
10-16-2003, 01:57 PM#7
Draco
For heroes, you need becomes revivable I think. Just have events for died and becomes revivable.
10-16-2003, 06:05 PM#8
HEZZA
Quote:
For Heroes,you need becomes revivable i think. Just have events for died and bacoms revivable


i can revive the hero when they died if thats what u thought the question was, but it isnt. here it is:

i want a hero that kills an enmy hero > To get the points on the leaderboard for that kill.
10-16-2003, 06:16 PM#9
HEZZA
wouldnt that keep reseting all the scores to 1 all the time tho
10-16-2003, 09:39 PM#10
Ligature
To update the value for a player on the leaderboard, you use the "Leaderboard - Change Player Value" action.

(edit) sorry, that was already mentioned. Um, but rest assured, changing the Leaderboard value for a player to the kills array member will not change the kills array member to the leaderboard value.
10-16-2003, 09:51 PM#11
HEZZA
Er can ppl tell me how to do this and not Giving it to me bluntly thx
10-16-2003, 10:32 PM#12
-={tWiStÄr}=-
ok, you need another trig, or this is how i would do it,

event -
Every .01 seconds

action
set leaderboard value kills for player x to xkills

and do that action over again for every player

:ggani: 200 post