Page 1 of 1

Leaderboard kills and trigger

Posted: Thu Sep 18, 2008 11:11 am
by Imisnew2
How do I make it where when a team of players have all accumulated 1500 (between them all) it activates a trigger?

Like say,
"Force1 kills 100 men"

"Create 1 Marine"


Right now all that does is, once a single player in Force 1 gets 100 kills it will create 1 marine for everyone.

I want it, where, if there were 5 players, they all could get 20 kills and it still work.

I've tried, "Score - Force 1 Kills 100" and just simple "Kills - Force 1 Kills 100" but neither work the way as intended.

I COULD do a leaderboard thing but I don't know how to make a condition with the leaderboard.... "???- Player 8, Leaderboard Kills, 100"
With the above, I could make it happen by giving all kills done by force 1 to player 8 with a trigger.  But I'd need the same type of condition trigger for that to work.
I suppose I could just simply use "Score-etc" but i don't know the kill scores for Zerg Zergling, Zerg Hydralisk, and Zerg Mutalisk... I'd need to know the scores for Devouring one, Hunter Killer, and Kulkuza(SP) as well.
Oh triggers are indeed a frusteration.

Re: Leaderboard kills and trigger

Posted: Thu Sep 18, 2008 2:52 pm
by Whiplash!
Change it from the "Force" to the actual player number because with forces the trigger will count every player in the force and add units appropriately.

Re: Leaderboard kills and trigger

Posted: Thu Sep 18, 2008 6:19 pm
by Lavarinth
You could make a set of triggers like the following:

Condition:
Player # Kills 1 Any Unit
Action:
Add 1 Point to Leaderboard for Player 1
Preserve Trigger

Where # = Everyone on Player 1's force/team (individual triggers). So if there are four players on Player 1's Force, make four triggers like this.

Then do the following:

Condition:
Player 1's Score is equal to 100
Action:
Create 1 Marine for Force 1


Possible, no?

Re: Leaderboard kills and trigger

Posted: Thu Sep 18, 2008 8:28 pm
by Imisnew2
yea but if p1 leaves... screwed lol plus thats ALOT of triggers. Sorry for not getting back to you earlier but i was off at class.  I was thinking... and I just did "P6 has this many deaths" and that solved the problem with one easy trigger..

But what I was asking is there a way to say "If P1 has 10 leaderboard points" then do "Create 1 marine"

Can I have leaderboard as a condition somehow?

Also, the preserve trigger on the first part would repeat infinitly.  Since someone already killed atleast 1 unit, it would repeat.