As it is now my spawner advances a wave counter, (X) numbers of unit type spawns at different points,
then it waits 45 secs before re running the trigger.
What i would like to do is
Mod Current wave +1
Repeat (actions) wave count[current wave] times
Create unit
Order unit to move
Then instead of waiting 45 secs, i would like to listen for when all the units are dead. Then give the players
a end of round reward and start the next wave.
Can anyone help me out with this ?
Sorry if its already on the forums, but i cant seem to find it. A link will be fine if i am guilty of such crimes =P
What if i have 3 creep players, how would i make it happen only if all 3 have 0 left. Make the condition and add "and" next creep player "and" creep next player?
Ahh now i see. i couldnt find the option "any unit on the map". thats why i was still needing a unit group i guess. this is awesome. Thank you very much
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
A quick question here.
As it is now my spawner advances a wave counter, (X) numbers of unit type spawns at different points, then it waits 45 secs before re running the trigger.
What i would like to do is
Mod Current wave +1 Repeat (actions) wave count[current wave] times Create unit Order unit to move
Then instead of waiting 45 secs, i would like to listen for when all the units are dead. Then give the players a end of round reward and start the next wave.
Can anyone help me out with this ? Sorry if its already on the forums, but i cant seem to find it. A link will be fine if i am guilty of such crimes =P
Event unit dies
Condition number of unit in unitgroup units on entire map owned by player creep = 0
Action
reward
start spawn trigger
Thx a ton mate.
What if i have 3 creep players, how would i make it happen only if all 3 have 0 left. Make the condition and add "and" next creep player "and" creep next player?
Hmm i cant seem to get this set up. Can you be bothered to specify it a bit further?
@erasDK: Go
if there are 3 creep players, just add 3 conditions
if nobody else does, i can show you later. harry potter movie incoming in less than a hour
Ah damn, i wish it was me =) Hope it's good.
Im looking forward to that then. Thx again.
I think my problem is that i need to setup a unit group first maybe ?
there are some ways
you could add every unit to a unitgrp the moment it spawns and just check that one unitgrp or do as i said
Ahh now i see. i couldnt find the option "any unit on the map". thats why i was still needing a unit group i guess. this is awesome. Thank you very much