I'm trying to make a validator of the type COMBINE that checks:
"If caster is silenced" AND "If target is not spell immune"
Tho, i'm trying to make it display the message of the specific validator that triggered the result failure, so, instead of displaying: "Can't use that while silenced or on a spell immune target", i'd like to make it display either: "Can't use that while silenced" or "Target is immune to spells".
However, the failure result message that is displayed is the one on the COMBINE validator, and not on its components.
Anyone know if this is possible atm? If so, how to do it?
Got it
I did as you said and it is working now, ty!
So, the trick is, never use Combine validator if you want to obtain the value of the single validator that caused the failure, put all of them individually in the validate field instead :\
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm trying to make a validator of the type COMBINE that checks:
"If caster is silenced" AND "If target is not spell immune"
Tho, i'm trying to make it display the message of the specific validator that triggered the result failure, so, instead of displaying: "Can't use that while silenced or on a spell immune target", i'd like to make it display either: "Can't use that while silenced" or "Target is immune to spells". However, the failure result message that is displayed is the one on the COMBINE validator, and not on its components.
Anyone know if this is possible atm? If so, how to do it?
A lot of places where you use validators (such as effects) let you specify multiple ones which are combined with an implicit AND operation.
Got it I did as you said and it is working now, ty!
So, the trick is, never use Combine validator if you want to obtain the value of the single validator that caused the failure, put all of them individually in the validate field instead :\