I want an effect that runs only when there are no units (except the source unit) in a specific search area.
For example: I have a periodic behavior with a search area effect that constantly checks if there are units within its radius. It works if I check for units in an area, but I want it to work the other way around, and can't really wrap my head around it. Appriciate any assistance.
Another thing I wonder is how to create a validator that checks for custom unit values. Is this possible?
EDIT:
Let me explain some more:
I have two seperate periodic searches. One checks the area for specific units (no air, not dead, etc.)
The second periodic search I'd like to do the exact opposite, it checks the area for the same things, but only runs its effect when there are no units of the same specifics in the area.
I have two seperate periodic searches. One checks the area for specific units (no air, not dead, etc.)
The second periodic search I'd like to do the exact opposite, it checks the area for the same things, but only runs its effect when there are no units of the same specifics in the area.
Hello.
I want an effect that runs only when there are no units (except the source unit) in a specific search area.
For example: I have a periodic behavior with a search area effect that constantly checks if there are units within its radius. It works if I check for units in an area, but I want it to work the other way around, and can't really wrap my head around it. Appriciate any assistance.
Another thing I wonder is how to create a validator that checks for custom unit values. Is this possible?
EDIT:
Let me explain some more:
I have two seperate periodic searches. One checks the area for specific units (no air, not dead, etc.)
The second periodic search I'd like to do the exact opposite, it checks the area for the same things, but only runs its effect when there are no units of the same specifics in the area.
search count equals 0?!
exclude source
yes it is possible
Let me explain some more:
I have two seperate periodic searches. One checks the area for specific units (no air, not dead, etc.)
The second periodic search I'd like to do the exact opposite, it checks the area for the same things, but only runs its effect when there are no units of the same specifics in the area.
I tried with Maximum Count to 0 instead of -1, it still runs when units enter (instead of opposite). :/
you have to change the greater equal to less equal.
have a look at the lurker in my example map:
http://forums.sc2mapster.com/development/data/20161-burrow-autocast-strange-behavior/?post=12
it unbrurrows if no units are in range
edit: use a area validator and not a search effect if you need zero units
He means Enumerate Area validator and maybe combine it with a Unit Type validator
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg