- Joined
- Mar 7, 2005
- Messages
- 824
I have made a variable that counts the kills for each player after u have 5000 kills u get an item.. but i dont know which triggers i must use for that.
then the item is be given to the builder, that builder has for sure an inventar...
this is what i have done:
-pick all players:
-Set kills[player number of (picked player)] = 0
then in another trigger:
event:
-a unit dies
Condition:
- owner of dying unit equal to player 12 (for example)
- owner of killing unit equal to player 1 (for example)
action:
- pick all players
- set kills[player number of (picked player)] = kills[playernumber of (picked player)] + 1
after that i tried some things but dont know if one of the players have 5000 which triggers i have to use that only this player get the item for his hero....
thx in advance
then the item is be given to the builder, that builder has for sure an inventar...
this is what i have done:
-pick all players:
-Set kills[player number of (picked player)] = 0
then in another trigger:
event:
-a unit dies
Condition:
- owner of dying unit equal to player 12 (for example)
- owner of killing unit equal to player 1 (for example)
action:
- pick all players
- set kills[player number of (picked player)] = kills[playernumber of (picked player)] + 1
after that i tried some things but dont know if one of the players have 5000 which triggers i have to use that only this player get the item for his hero....
thx in advance