I would like to know how to change units spawned at a location for a certain amount of kills. For example give 'x' 'unit' to player 'x' / preserve trigger, is the normal spawning mode which doesn't evolute and doesn't stop. So my question is, how do you change the unit spawned at a location for an amount of kills. Your help pleased and needed your dear okidoki)Hk(
You mean like madness style? You can use death counters or switches
Player X has atleast X number of kills. lv1 switch is set. clear lv1 set lv2.
lv1(or other lv) is set creat unit X for player X at location. You can do the same thing with just adding 1death of unit for each lv.
Player X has suffered atleast X deaths of unit. Create unit X for player X at location.
That's a rather crappy way to do it. Just do this:
Current Player has killed at least 1 anyunit
Current Player has killed at most 50 any unit
------------
create lvl 1 unit
preserve
Current Player has killed at least 51 anyunit
Current Player has killed at most 100 any unit
------------
create lvl 2 unit
and so on.
Well thanks guys I think the second method is cool. I will try it tonight give ya news sometime soon.
Uhmm.. You might want to put a wait in there or else it would spawn too rapidly. Just a heads up so you dont have to go through it again..
use DCs instead of waits. DCs > waits. to use DC. have this trigger:
D = deaths
always
preserve
add 1 to D
now add this to all the conditions:
D is at least 12(12 D = 1 second, adjust as necessary)
add this to all conditons:
set deaths to 0
I do it a separate way and it's much easier and has less triggers.
Deaths of unit is 0
conditions are met
------------
set deaths to 12
do actions
preserve
Has suffered at least 1 death of unit
--------
subtract 1
preserve
That would make roughly a 1 second wait before the trigger fires.
err, but we both use the exact same amount of actions/conditions(5). the only difference is you count down while i count up.
Oh my bad I got confused when I noticed that you had 3 things relating to conditions. It's a matter of preference I guess then.
You don't need a wait if there aren't hyper triggers. Most madnesses don't have hyper triggers, since there's no reason for them.
Even if there are hypers, so long as that's the only wait running for that player, go ahead and use a wait in the spawn trigger. That's what I did for my "rock paper scissors madness" map.
Just use the original way urmom suggested to do it, and add waits to your triggers if you have hyper triggers or think they are spawning too rapidly even without hyper triggers.