Leaderboard kills and trigger

Post Reply
Imisnew2
Terran Supply Depot Clerk
Terran Supply Depot Clerk
Posts: 13
Joined: Fri Sep 12, 2008 1:30 pm

Leaderboard kills and trigger

Post 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.
Last edited by Imisnew2 on Thu Sep 18, 2008 12:47 pm, edited 1 time in total.
User avatar
Whiplash!
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 963
Joined: Wed Sep 13, 2006 4:21 pm
Location: Florida
Contact:

Re: Leaderboard kills and trigger

Post 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.
¯\_(ツ)_/¯
User avatar
Lavarinth
Xel'naga Administrator
Xel'naga Administrator
Posts: 6539
Joined: Wed Aug 16, 2006 5:21 pm
Location: His Ashworld Planet

Re: Leaderboard kills and trigger

Post 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?
- - Lavarinth
Campaign Creations Administrator
Imisnew2
Terran Supply Depot Clerk
Terran Supply Depot Clerk
Posts: 13
Joined: Fri Sep 12, 2008 1:30 pm

Re: Leaderboard kills and trigger

Post 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.
Last edited by Imisnew2 on Fri Sep 19, 2008 4:59 pm, edited 1 time in total.
Post Reply