So I'm trying to use the "unit compare vital" validator for an effect-target ability to check if the target's current energy is at least 75 larger than the caster's. I'm not sure if I'm setting this up correctly, though. I set:
Unit: Target
Other Unit: Caster
Compare: Greater Than
Type: Current
Value: 75
Vital: Energy
But nothing happens. Am I making a bad assumption here? If I set Other Unit to unknown, then the ability will find a target and cast as long as the caster has energy, but I'm not sure if this sort of "compare vital" validator is actually meant to compare 2 units, instead of just one unit's amount. Any hints?
Currently the Other Unit field is a great unknown. Tried with the compare being less than? Also maybe the value is conflicting with the other field. Under type have you tried delta?
Yes, I've tried basically all possible combinations, with no success :( In my understanding, delta is the difference between current value and maximum, not the difference between two current values (as I hoped it would be).
Well Until the fundamental understanding of validators improves, all I can recommend is to have a trigger to do the comparisons and then apply an enabling buff.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Hi,
So I'm trying to use the "unit compare vital" validator for an effect-target ability to check if the target's current energy is at least 75 larger than the caster's. I'm not sure if I'm setting this up correctly, though. I set:
Unit: Target
Other Unit: Caster
Compare: Greater Than
Type: Current
Value: 75
Vital: Energy
But nothing happens. Am I making a bad assumption here? If I set Other Unit to unknown, then the ability will find a target and cast as long as the caster has energy, but I'm not sure if this sort of "compare vital" validator is actually meant to compare 2 units, instead of just one unit's amount. Any hints?
Thanks
Currently the Other Unit field is a great unknown. Tried with the compare being less than? Also maybe the value is conflicting with the other field. Under type have you tried delta?
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
Yes, I've tried basically all possible combinations, with no success :( In my understanding, delta is the difference between current value and maximum, not the difference between two current values (as I hoped it would be).
Well Until the fundamental understanding of validators improves, all I can recommend is to have a trigger to do the comparisons and then apply an enabling buff.
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
Yeah, that's what I ended up doing :[
Thanks