So, as the title says, I have behavior that suppose to work only when another behavior (given by a unit aura) is achieved by it.
And I can't seem to make it work, what i've done so far:
The behavior that suppose to work is found at the unit behavior panel.
I've created a validator that checks "unit compare behavior count" to the behavior given by the the other unit's aura.
and I've placed that validator with the Validator (disable) option on the first behavior.
In theory it's suppose to work, but it doesnt.
The unit seems to always have the behavior on.
I even tried to play a bit with requirements, to put a "countbehavior" requirement with the appropriate behavior on it, and it doesnt work as well.
In theory it's suppose to work, but it doesnt. The unit seems to always have the behavior on.
This makes it sound like you don't have a 'timer' on the behavior. Did you set up periods and durations or did you leave them at -1 (means it's always on).
Rollback Post to RevisionRollBack
The Team - TnTProductions
TnTProductions latest Project - Docking Bay 13
TnTProductions Epic RPG in the making - Psionics: Chaos Rising
Check out our website on wixx! http://bulletbutter.wix.com/tntproductions
The behavior is always on.
Should I've done something else?
if I have a timer on it, it never goes back on after it's disabled.
And I dont see how I "re-enable" it after it's ending period.
Could you please give some details as to your validator's settings?
Although the problem is solved, I still want to know why my validator didnt work:
Validator - Unit Behavior Compare Count
Compare - Less than
Value - 1
Other settings are default (I'm pretty sure they're irrelevant).
do note I've tried to play with these settings and with compare and value to different stuff just to see how it reacts - nothing.
Although the problem is solved, I still want to know why my validator didnt work: Validator - Unit Behavior Compare Count Compare - Less than Value - 1
Like stated: Are you ABSOLUTELY sure, the behavior was working? If the validator disables the behavior, it is inactive, but it does NOT remove the status button of the behavior. The requirement does the same thing.
The difference for the behavior is the "show" part: You can hide the behavior in addition to deactivating it. The requirement without the "show" works just as good, the only difference being that you still see the behavior icon.
OHHHHH. So it might have worked just fine. :P
I'm not really sure if I checked it and it wasnt working or anything, but I def treated it as not working cause I saw the status icon (which I didnt know still appear if u deactivate).
Thanks once again!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So, as the title says, I have behavior that suppose to work only when another behavior (given by a unit aura) is achieved by it. And I can't seem to make it work, what i've done so far:
The behavior that suppose to work is found at the unit behavior panel. I've created a validator that checks "unit compare behavior count" to the behavior given by the the other unit's aura. and I've placed that validator with the Validator (disable) option on the first behavior.
In theory it's suppose to work, but it doesnt. The unit seems to always have the behavior on.
I even tried to play a bit with requirements, to put a "countbehavior" requirement with the appropriate behavior on it, and it doesnt work as well.
Any help would be appreciated, thanks!
This makes it sound like you don't have a 'timer' on the behavior. Did you set up periods and durations or did you leave them at -1 (means it's always on).
The behavior is always on. Should I've done something else? if I have a timer on it, it never goes back on after it's disabled. And I dont see how I "re-enable" it after it's ending period.
@BeerDuke: Go
Are you sure, it is always on? Or is it just the icon of the behavior? It is shown, even if the behavior is disabled.
You can get rid of it, if you use a requirement, and use both the "Use" and the "Show" part of the requirement.
You could also just let the aura behavior apply the 2nd behavior initially, and remove it on expire.
Could you please give some details as to your validator's settings?
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
YOU'RE THE MAN! That's solved the issue!
Although the problem is solved, I still want to know why my validator didnt work: Validator - Unit Behavior Compare Count Compare - Less than Value - 1
Other settings are default (I'm pretty sure they're irrelevant). do note I've tried to play with these settings and with compare and value to different stuff just to see how it reacts - nothing.
Like stated: Are you ABSOLUTELY sure, the behavior was working? If the validator disables the behavior, it is inactive, but it does NOT remove the status button of the behavior. The requirement does the same thing.
The difference for the behavior is the "show" part: You can hide the behavior in addition to deactivating it. The requirement without the "show" works just as good, the only difference being that you still see the behavior icon.
@Kueken531: Go
OHHHHH. So it might have worked just fine. :P I'm not really sure if I checked it and it wasnt working or anything, but I def treated it as not working cause I saw the status icon (which I didnt know still appear if u deactivate).
Thanks once again!