I suspected it was unit order queue, unit order, unit state, unit kenetic, but none of them is it. This is like a needle in a haystack. Does anyone know?
I am using unit order count and unit compare speed to fill this need; but does an actual idle validator exist?
The "No Orders And No Move" validator is what you're looking for.
There's also "Caster Has No Orders", which is more or less the same, and "Target Has No Orders", which of course checks the target unit instead of the caster unit.
The Unit Compare Order Count validator has fields that ask for specific ability and index. I think this means that it can only check for that specific ability, not all commands in general; correct?
If you leave the "Ability Link" field blank, it checks for every ability. For example, that field's blank in the No Orders And No Move validator, I put it on a behavior to test, and that behavior was active only while the unit was standing still and not attacking, moving or using/channeling abilities.
Though, if you set the field's value to a specific ability, it will only check for that one ability, that's correct. :) Otherwise, leaving it blank will be a general check for any order the unit's given.
I need a validator to validate my unit is idle.
I suspected it was unit order queue, unit order, unit state, unit kenetic, but none of them is it. This is like a needle in a haystack. Does anyone know?
I am using unit order count and unit compare speed to fill this need; but does an actual idle validator exist?
The "No Orders And No Move" validator is what you're looking for.
There's also "Caster Has No Orders", which is more or less the same, and "Target Has No Orders", which of course checks the target unit instead of the caster unit.
@StealthToast: Go
The Unit Compare Order Count validator has fields that ask for specific ability and index. I think this means that it can only check for that specific ability, not all commands in general; correct?
If you leave the "Ability Link" field blank, it checks for every ability. For example, that field's blank in the No Orders And No Move validator, I put it on a behavior to test, and that behavior was active only while the unit was standing still and not attacking, moving or using/channeling abilities.
Though, if you set the field's value to a specific ability, it will only check for that one ability, that's correct. :) Otherwise, leaving it blank will be a general check for any order the unit's given.
@StealthToast: Go
That is it! This is what I have been looking for, leaving it blank is the answer.
This also means, the other validators may behave in the same way, if I leave fields blank, it may default to 'all'.
Thank you so much.