I have validator "Combine" with type "And" that includes 2 Enumerate Area validators:
1. number of enemies in 12 range greater or equal to 1
2. number of enemies in range 2 less than or equal to 0
its my custom siege tank siege ability autocast, and it works when there is only the 1st validator, but when i set it to have this combined validator with "and" it prevents tank to morph to siege mode even tho there is no enemy in range (2) :/ Any idea why?
edit:
of course you can bypass it by switching the 2nd validator to like "caster not in combat", but still its mystery why the above ones wont work together :/ I think they should fix it cause its illogical (unless im to stupid to understund the other reason why its not working).
With your current logic there must be enemies in 1 and no enemies in 2 since the AND logic means both validators must return true for the combine to do so.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
With your current logic there must be enemies in 1 and no enemies in 2 since the AND logic means both validators must return true for the combine to do so.
Yes, basically enemies in range of siege cannon and no enemies in deadzone.
So it SHOULD return true if there would be enemies in range of 7, 9 or 12 units of distance from caster, but it dont for some reason.
Hello there.
I have validator "Combine" with type "And" that includes 2 Enumerate Area validators:
1. number of enemies in 12 range greater or equal to 1
2. number of enemies in range 2 less than or equal to 0
its my custom siege tank siege ability autocast, and it works when there is only the 1st validator, but when i set it to have this combined validator with "and" it prevents tank to morph to siege mode even tho there is no enemy in range (2) :/ Any idea why?
edit: of course you can bypass it by switching the 2nd validator to like "caster not in combat", but still its mystery why the above ones wont work together :/ I think they should fix it cause its illogical (unless im to stupid to understund the other reason why its not working).
With your current logic there must be enemies in 1 and no enemies in 2 since the AND logic means both validators must return true for the combine to do so.
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
Yes, basically enemies in range of siege cannon and no enemies in deadzone.
So it SHOULD return true if there would be enemies in range of 7, 9 or 12 units of distance from caster, but it dont for some reason.
My only advice is to check if number 2 works on its own.
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