I Would like to know how to reward a player with 1 certain unit when he reaches 100 kills, 200 kills, 300 kills etc..
I have been looking through every page here on the tutorial section of the forum and i've been google'ing a lot, this is my last resort!
Ok, i kind of understood what you were saying, but not how to put it in use... do i use an if then else statement or, where do i start?
I am kind of new to the triggers etc but i know the basics :P
I guess that's because you're looping through all players. Let's say player 1 killed 5 units and gets a zealot. Now player 2 kills another unit and the trigger runs again. Since player 1 hasn't killed any more units he still has 5 kills and gets another zealot.
Hello!
I Would like to know how to reward a player with 1 certain unit when he reaches 100 kills, 200 kills, 300 kills etc.. I have been looking through every page here on the tutorial section of the forum and i've been google'ing a lot, this is my last resort!
Thanks in advance!
Moved to map development
Use the math operation
Mod()
basically it tells you if there is a remainder or not
conditions: mod (Kills/20) = 0 ; this is true when kills divided by 20 has no remainder if there is a remainder this would be false
so only when kills can be diveded by 20 evenly will it be false
@SouLCarveRR: Go
Ok, i kind of understood what you were saying, but not how to put it in use... do i use an if then else statement or, where do i start? I am kind of new to the triggers etc but i know the basics :P
@caspersc: Go
Sweet, thank you so much! <3
@Ozoft: Go
I'm having a problem:
--- But when i reach 5 kills, or 10 kills, i sometimes get 2 or 3 zealots and/or sentries... what the fuzz about? :PThanks in advance!
@Ozoft: Go
I guess that's because you're looping through all players. Let's say player 1 killed 5 units and gets a zealot. Now player 2 kills another unit and the trigger runs again. Since player 1 hasn't killed any more units he still has 5 kills and gets another zealot.
I'd suggest something like this:
@s3rius: Go
Awesome!
Thanks!!