I am trying to make a behavior that is disabled when enemies are around. To do this, I made an enumerate area validator that disables the behavior when it returns false. It will not work though, it always does the opposite.
Here is what I used:
Search Areas - Arc: 360
Search Areas - Compare: Equal To
Search Areas - Count: -1
Search Areas - Radius: 13 (my vision radius)
Search Areas - Radius Bonus: 0
Search Areas - Validator: None
Search Count: 0
And for my Search - Search Filters, I said:
Excluded: Self, Player, Ally, Neutral, Structure, Missile, Dead
For some reason I cant get it to work. Does anybody know why?
I am trying to make a behavior that is disabled when enemies are around. To do this, I made an enumerate area validator that disables the behavior when it returns false. It will not work though, it always does the opposite.
Here is what I used:
And for my Search - Search Filters, I said:
Excluded: Self, Player, Ally, Neutral, Structure, Missile, Dead
For some reason I cant get it to work. Does anybody know why?
Much appreciated. :)
Just base it of the already existing NoEnemiesNearby.
Also -1 in the count acts as any number.
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
@DrSuperEvil: Go
Thanks! This worked perfectly.