I believe you are refering to the Unit Compare Field validator which can compare any field of the units data type. Just set it to Validator - Compare to not equals to, Validator - Field to your field of interest and Validator - Value to the default value for the field of interest. As for the second part of your question, rather refer to triggers for doing that.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Hey.
Is there a way through validators to check if a unit has a custom value? In this case, how?
Also, is there a way to change a unit custom value through effects?
I believe you are refering to the Unit Compare Field validator which can compare any field of the units data type. Just set it to Validator - Compare to not equals to, Validator - Field to your field of interest and Validator - Value to the default value for the field of interest. As for the second part of your question, rather refer to triggers for doing that.
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