QUOTE(KingOfIkana @ Mar 28 2005, 07:34 PM)
what triggers do i need to use to make it so that for every 5 kills i can create a civilian at a location? Thanks for the help forgot to mention i got it to wor but i would only work once
[right][snapback]174952[/snapback][/right]
QUOTE(KingOfIkana @ Mar 29 2005, 11:09 PM)
ok i tried the trigger legacy wepon suggested and now i will get 2 civilans and then the trigger stops working.
[right][snapback]175943[/snapback][/right]
There are many ways to achieve your goal, but the way I did it was this:
NOTE: this method incorporates leaderboard
| Trigger |
| Description: |
| kills to vespene (as a counter gauge) > vespene to civillian >show total in leaderboard |
|
| Players: |
| ¤ player(s) you wish to create civillians for |
| Conditions: |
| ¤ Current player's Kill-Score is atleast 1 |
| Actions: |
¤ Modify score for Current Player: Set to '0' Kills
|
¤ Modify Death counts for Current Player: Add '1' for "A unit not used in game"
|
| ¤ Preserve Trigger |
And also
| Trigger |
null| Players: |
| ¤ player(s) you wish to create civillians for |
| Conditions: |
| ¤ Current Player has suffered atleast '1' Deaths of "the unit you used in previous trigger" |
| Actions: |
¤ Modify Death counts for Current Player: Set to '0' for "Unit you chose to use in previous trigger"
|
¤ Modify score for Current Player: Add '1' Custom
|
¤ Modify resources for Current Player: Add '1' vespene
|
| ¤ Preserve Trigger |
And then for each player i made this trigger separate, because i had a specific location that i wanted the civillians to spawn for each player.
| Trigger |
| Description: |
| Number of Vespene (kills) = 1 Civillian |
|
| Conditions: |
| ¤ Current Player Accumulates at least "number of kills you want to equal a civillian" vespene |
| Actions: |
¤ Create '1' civillian at 'location' for Current Player
|
¤ Modify resources for Current Player: Subtract "same number you chose" vespene
|
| ¤ Preserve trigger |
I used vespene so that each person can gauge how many kills they have towards a new civillian, seeing as this is always displayed anyway.
Then all you have to do to display the total information to everyone is
| Trigger |
| Description: |
| leaderboard |
|
| Players: |
| ¤ All Players |
| Conditions: |
| ¤ Always |
| Actions: |
¤ Show Leaderboard for Most Custom. Display "your label (ie. Most Kills)"
|
¤ Disable use of computer players in leaderboard calculations
|
| ¤ Preserve Trigger |
I admit this method is not entirely accurate when you kill mass units really fast, (like you kill 10 units at one time with a corsair, and you only get one kill counted).
I suppose using a Hyper Trigger would be faster and more accurate, but i've never dealt with Hypers, so i don't know how to do it. I also tried tweaking this method here and there, but this is exactly what i found to give me the BEST results.
Here is a map i recently finished that i like alot that i used these exact triggers in..
ENJOY!