Staredit Network

Staredit Network -> UMS Assistance -> Spawning Trigger Question
Report, edit, etc...Posted by okidoki)Hk( on 2006-08-17 at 11:40:32
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( cool1.gif
Report, edit, etc...Posted by Heegu on 2006-08-17 at 12:25:49
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.
Report, edit, etc...Posted by Urmom(U) on 2006-08-17 at 12:55:15
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.
Report, edit, etc...Posted by okidoki)Hk( on 2006-08-17 at 15:45:17
Well thanks guys I think the second method is cool. I will try it tonight give ya news sometime soon.
Report, edit, etc...Posted by Who-the-hell-ru on 2006-08-21 at 14:38:19
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..
Report, edit, etc...Posted by Zeratul_101 on 2006-08-21 at 14:42:54
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
Report, edit, etc...Posted by Urmom(U) on 2006-08-21 at 14:47:33
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.
Report, edit, etc...Posted by Zeratul_101 on 2006-08-21 at 23:26:18
err, but we both use the exact same amount of actions/conditions(5). the only difference is you count down while i count up.
Report, edit, etc...Posted by Urmom(U) on 2006-08-22 at 01:22:51
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.
Report, edit, etc...Posted by fritfrat(U) on 2006-08-22 at 11:36:05
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.
Next Page (1)