- Joined
- Jun 13, 2008
- Messages
- 132
Hi again, I am having a trouble making my trigger to do this:
Every one second my trigger sets a "TempGroup" of units: the trapped unit, then I pick all the units in TempGroup (in the same trigger), and set the second group, "TempGroup2" the units not trapped and if they are in range (300), then I check if number of units in "TempGroup2" is greater than 0 I replace picked unit with not traped unit, but this does not work, any idea on how to do this?
In other words my trigger has to check if an unit not traped is in 300 aoe of a trapped unit, if this is true then the trapped unit is replaced with a one that is not trapped.
Every one second my trigger sets a "TempGroup" of units: the trapped unit, then I pick all the units in TempGroup (in the same trigger), and set the second group, "TempGroup2" the units not trapped and if they are in range (300), then I check if number of units in "TempGroup2" is greater than 0 I replace picked unit with not traped unit, but this does not work, any idea on how to do this?
In other words my trigger has to check if an unit not traped is in 300 aoe of a trapped unit, if this is true then the trapped unit is replaced with a one that is not trapped.