im making a rpg and i need a trigger that can do the following: Make 1 unit per 25sec. Cant make more than 5 units. all units must die for more to spawn. if a hero enters the region and kills them all they will not spawn until he leaves and is gone for 25sec. Im moderate at working with just about everything but triggers. i did spend a good LONG time trying to get make this trigger happen but alas, my efforts were futial. i need this so i can make and release my new rpg Back to Arms!
How far have you gotten on making this trigger yourself..... Its not really too complicated.... Heres 3 hints
This should really be done with at least 2 triggers. And one Global Unit group variable
Trigger - Periodic Event that creates units ( check to see if any units are in the global unit group, If no units in that unit group then create more units)
Trigger - Any Unit Dies event (if the unit is in the global unit group, remove the unit from the global unit group)
Global Unit Group variable (this would be used to add the created units to it and remove them when they die) you can do a
lol im not a big trigger kinda person. i can make a mean ability but when it comes to triggers im stumped lol. ty for the help. i applied your method
and now all i have to do is make the rest which i made that before its just the hole unit die unit comes thing :P.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
im making a rpg and i need a trigger that can do the following: Make 1 unit per 25sec. Cant make more than 5 units. all units must die for more to spawn. if a hero enters the region and kills them all they will not spawn until he leaves and is gone for 25sec. Im moderate at working with just about everything but triggers. i did spend a good LONG time trying to get make this trigger happen but alas, my efforts were futial. i need this so i can make and release my new rpg Back to Arms!
@Horang: Go
How far have you gotten on making this trigger yourself..... Its not really too complicated.... Heres 3 hints
This should really be done with at least 2 triggers. And one Global Unit group variable
You want them all dead before they can recreate, or do they recreate if it's still less than 5 (Even when the hero's not there)?
lol im not a big trigger kinda person. i can make a mean ability but when it comes to triggers im stumped lol. ty for the help. i applied your method and now all i have to do is make the rest which i made that before its just the hole unit die unit comes thing :P.