Hello, I apologize ahead of time for my lack of understand regarding validators. I have found no tutorial specifically regarding the and have just randomly been poking at them lately. My problem is this, I have created a mineral shard unit that when it uses the "pickupminerals100" ability that applies the effect "pickupminerals100set". This set includes applying the "Carrymineralfieldminerals" behavior to the target unit. What I want to do is not have this ability run if the unit has the behavior "carryhighyieldmineralfieldminerals". I created a "unit compare behavior count" validator called "check mineral carry" . The fields in this catagory are set as follows:
Behavior - carry high yield mineral field minerls
Compare- equal to
Failure Result - Must target unit
Ignore While Channeling 0
Other Unit + (None):Target
Result - Failure Error
Unit + (None):Target
Value 1
I then applied the validator to the effect "pickupminerals100set" but nothing has been changed. I assume it may be an issue with either the "other unit +" or "unit +" field as they are the two which seem to make the least sense to me. Help is much appreciated thanks.
problem solved. I switched the Other Unit + field to "outer" immediately after posting this and it worked though I would still love to understand why it worked exactly. I had thought originally that since the ability was targeting the probe unit from the mineral shard unit that this field would have to be target but after this initial idea I though perhaps it is different because the effect is occurring after the ability has been cast and thus not "targeting" the unit?
Hello, I apologize ahead of time for my lack of understand regarding validators. I have found no tutorial specifically regarding the and have just randomly been poking at them lately. My problem is this, I have created a mineral shard unit that when it uses the "pickupminerals100" ability that applies the effect "pickupminerals100set". This set includes applying the "Carrymineralfieldminerals" behavior to the target unit. What I want to do is not have this ability run if the unit has the behavior "carryhighyieldmineralfieldminerals". I created a "unit compare behavior count" validator called "check mineral carry" . The fields in this catagory are set as follows:
Behavior - carry high yield mineral field minerls Compare- equal to Failure Result - Must target unit Ignore While Channeling 0 Other Unit + (None):Target Result - Failure Error Unit + (None):Target Value 1
I then applied the validator to the effect "pickupminerals100set" but nothing has been changed. I assume it may be an issue with either the "other unit +" or "unit +" field as they are the two which seem to make the least sense to me. Help is much appreciated thanks.
@redeamed: Go
problem solved. I switched the Other Unit + field to "outer" immediately after posting this and it worked though I would still love to understand why it worked exactly. I had thought originally that since the ability was targeting the probe unit from the mineral shard unit that this field would have to be target but after this initial idea I though perhaps it is different because the effect is occurring after the ability has been cast and thus not "targeting" the unit?
What is the Validator - Unit - Value field set to?
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