I have tried this 100 different ways and I cannot get the desired result. I have asked this question before and no one has been able to answer it.
How can I have 2 Units brought to a region and have both of the units removed when they are both on the region?
Specifically
Event
Unit Enters Specified Region
Conditions
1 Of those Units is region Unit Type
and
1 Of those Units in region is Unit Type
and
There are only 2 Units total in the specified Region
Action
Remove the 2 Units from the game in the specified Region????
Everything works except for removing both the units I have been trying to figure this out for a few days now and it seems like it should be the easiest thing to do. The only thing I can do is Remove Triggering Unit but that only removes 1 unit. There has got to be a way of doing this.
Someone please help me out this is driving me mad.
Chaining conditions and actions was much easier (albeit less powerful) with the original SC Editor... You'll learn all the tricks eventually. I'm still learning.
It is ridiculous that if you want to remove 1 unit you just have to click the option but to remove more than one I had to create its own trigger for each unit with it's own set of conditions for each unit i wanted removed and then had them all wait for the original trigger. There is a total of 3 Triggers just so that extra unit gets removed! WTF! anyway thanks for helping me out that was driving me crazy.
This could be working too BUT it is much more unspecific so every time a Unit enters the Region it checks the Unitype is one of the Unitype Space-Marine or Berserk then it Picks every Unit in Region X and only if both Unitypes are in the Region then only both Types getting deleted.
In Theory you move one Space-Marine in the Region it checks nothing happens. you move the second Marine in nothing Happens you move a Berserk in Both Spacemarine and the Berserk get deleted.
I tried it a million different ways the only way it works at all is if I have separate triggers for each removed unit and I have each trigger set to wait for the original trigger, not only do I have to set it to wait for the original trigger but it also does not work unless I have it set to wait until the original trigger finishes. Its very weird.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have tried this 100 different ways and I cannot get the desired result. I have asked this question before and no one has been able to answer it. How can I have 2 Units brought to a region and have both of the units removed when they are both on the region?
Specifically Event Unit Enters Specified Region
Conditions 1 Of those Units is region Unit Type and 1 Of those Units in region is Unit Type and There are only 2 Units total in the specified Region
Action Remove the 2 Units from the game in the specified Region????
Everything works except for removing both the units I have been trying to figure this out for a few days now and it seems like it should be the easiest thing to do. The only thing I can do is Remove Triggering Unit but that only removes 1 unit. There has got to be a way of doing this. Someone please help me out this is driving me mad.
Did you try to make an OR condition? plus 2 variables?
UnitOne (UnitVar) UnitTwo(UnitVar)
CONDITION 1 (UnitType of Triggering Unit == Space-Marine) OR CONDITION 2 (Unitype of Triggerin Unit == Berserk)
So both can actually be TRIGGERIN UNIT.
IF (Triggering Unit == Spacemarine )THEN( set UnitOne == Triggering Unit )ELSE nothing
IF (Triggering Unit == Berserk )THEN( set UnitTwo == Triggering Unit )ELSE nothing
i dont know ig thats works but then you can make a "Wait until condition"-action to check if both Unitypes are in the Region.
WAIT UNTIL CONDTION1 (UnitOne is in Region X) AND CONDTION2 (UnitTwo is in Region X)
Remove UnitOne Remove UnitTwo
I Dont really know if thats could work but i think it is a start :)
Chaining conditions and actions was much easier (albeit less powerful) with the original SC Editor... You'll learn all the tricks eventually. I'm still learning.
@Maruun: Go
Thank You so much!
It is ridiculous that if you want to remove 1 unit you just have to click the option but to remove more than one I had to create its own trigger for each unit with it's own set of conditions for each unit i wanted removed and then had them all wait for the original trigger. There is a total of 3 Triggers just so that extra unit gets removed! WTF! anyway thanks for helping me out that was driving me crazy.
@LordFelco: Go
Yes the original SC was 1000x easier but this has much more room for creativity and also frustration and anger.
@ajilejay: Go
lol... you have no idea yet. Wait until you start to learn about behaviors and actors, you're in for a treat my friend.
When i think about it it could be easier done without Variables
This could be working too BUT it is much more unspecific so every time a Unit enters the Region it checks the Unitype is one of the Unitype Space-Marine or Berserk then it Picks every Unit in Region X and only if both Unitypes are in the Region then only both Types getting deleted.
In Theory you move one Space-Marine in the Region it checks nothing happens. you move the second Marine in nothing Happens you move a Berserk in Both Spacemarine and the Berserk get deleted.
@Maruun: Go
I tried it a million different ways the only way it works at all is if I have separate triggers for each removed unit and I have each trigger set to wait for the original trigger, not only do I have to set it to wait for the original trigger but it also does not work unless I have it set to wait until the original trigger finishes. Its very weird.