It's hard describing this issue in the title without making it very long.
Basically, I'm trying to have a behavior change the sight range of a unit to zero for awhile.
I made a new behavior from scratch and used an ability with apply behavior. First, I tried without having a modification and it works as intended(it does nothing) I then add -100 in the sight bonus field. This makes the unit with the behavior immovable and some unit-types also cant rotate.
As if this wasn't confusing enough, removing that modification from the behavior(going back to how it was before when it did nothing) doesn't change anything. It still makes the unit unable to move.
I remade the behavior and it still seems to do the same thing.
When your behavior is applied I don't think it adds or subtracts with the values you use in the behavior but rather sets it to the value in the behavior. So if you want sight with no range put 0. I'm new to this myself and I might be wrong, but I did make a behavior with sight modification pretty recently.
It defaults at zero, therefore if what you said was true, every behavior would set the sight range to 0. I solved it however by recreating the behavior for the third time and changing the same fields. Weird.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
It's hard describing this issue in the title without making it very long.
Basically, I'm trying to have a behavior change the sight range of a unit to zero for awhile.
I made a new behavior from scratch and used an ability with apply behavior. First, I tried without having a modification and it works as intended(it does nothing) I then add -100 in the sight bonus field. This makes the unit with the behavior immovable and some unit-types also cant rotate.
As if this wasn't confusing enough, removing that modification from the behavior(going back to how it was before when it did nothing) doesn't change anything. It still makes the unit unable to move.
I remade the behavior and it still seems to do the same thing.
What about just setting maximum sight range to zero?
When your behavior is applied I don't think it adds or subtracts with the values you use in the behavior but rather sets it to the value in the behavior. So if you want sight with no range put 0. I'm new to this myself and I might be wrong, but I did make a behavior with sight modification pretty recently.
It defaults at zero, therefore if what you said was true, every behavior would set the sight range to 0. I solved it however by recreating the behavior for the third time and changing the same fields. Weird.