- Joined
- Aug 5, 2010
- Messages
- 114
I'm making creeps waves and I'm doing it by kill counting.
I made kill counting
Variable :
killcount Real
And Trigger:
Then i need trigger that starts next wave when killcount "gets" needed kill count:
killcount Become Equal to (3 x number of active players)
IT DOESN'T WORK..I have tried anything (variables,units number(that is equal to active players number), units hp, mana)
Nothing worked. Then I have made 11fake and turned off triggers and 1 trigger to turn on one of those triggers. (ex: 2 players trigger 2 turns on) (to set player number)
It works
But for every round i need to make + x11 triggers .... so 12 waves x11 and i get 140~ stupid triggers. And That's totally suck. NEED HELP to use active players count in event.
I made kill counting
Variable :
killcount Real
And Trigger:
-
add 1
-
Events
-
Unit - A unit owned by Player 12 (Brown) Dies
-
Unit - A unit owned by Player 12 (Brown) Changes owner
-
-
Conditions
-
Actions
-
Set killcount = (killcount + 1.00)
-
-
Then i need trigger that starts next wave when killcount "gets" needed kill count:
killcount Become Equal to (3 x number of active players)
IT DOESN'T WORK..I have tried anything (variables,units number(that is equal to active players number), units hp, mana)
Nothing worked. Then I have made 11fake and turned off triggers and 1 trigger to turn on one of those triggers. (ex: 2 players trigger 2 turns on) (to set player number)
It works
But for every round i need to make + x11 triggers .... so 12 waves x11 and i get 140~ stupid triggers. And That's totally suck. NEED HELP to use active players count in event.