I have a behavior:buff that gives unit +10% hp.
It works fine on regular units. Unit with 1000 hp will have 1100 hp with buff.
It is broken with hero units. It seems hp granted from attributes and veterancy are NOT accounted for it only goes of the base unit stat.
This is across the board with all other stats: Amor, Damage, Mana, etc
I have checked on the unit, attribute, veterancy and behavior data modules for a check box that might factor it in.
Can't seem to find it. This seems like a super noob quesiton but Im about to pull my hair out.
I believe when you use the ability burrow.
The zergling morphs into a Burrowed Zergling.
The ability could have a cost or the burrow zergling unit could have a cost.
There almost might be a check box in the ability to determine what the cost to be on ability use.
Make the SearchArea really small
SearchAreaTargetEffect with TargetHealEffect filter for whatever
SearchAreaSelfEffect with SelfBonusHealEffect filter for self:required
It looks like the height being set is relative to the current height of casting unit.
So if your casting unit is one level up and the target is 1 below.
It will only goto ground level of casting unit.
I'm trying to figure this out as well just haven't gotten around to it yet.
But it has to be along the lines of On kill give unit a permanent behavior.
Not sure what is the best way to detect on kill part.
Im trying to make a Behavior that brings an Air unit to the Ground.
On the behavior in the modifications field I have these fields set:
Unit: Height > 0
Movement: Plane Delta > Air = -1 | Ground =1
Ground units can target air unit with this buff but...
The unit is still up in the air.
The Height field does not accept negative values.
When I give it the value 1 it adds 1 to unit height sending them farther in the air.
0
This last update has broken everything. I cannot publish my map.
0
Wow... that is super hard to believe. Thanks for informing me.
0
I have a behavior:buff that gives unit +10% hp. It works fine on regular units. Unit with 1000 hp will have 1100 hp with buff. It is broken with hero units. It seems hp granted from attributes and veterancy are NOT accounted for it only goes of the base unit stat. This is across the board with all other stats: Amor, Damage, Mana, etc
I have checked on the unit, attribute, veterancy and behavior data modules for a check box that might factor it in. Can't seem to find it. This seems like a super noob quesiton but Im about to pull my hair out.
0
I believe when you use the ability burrow. The zergling morphs into a Burrowed Zergling. The ability could have a cost or the burrow zergling unit could have a cost. There almost might be a check box in the ability to determine what the cost to be on ability use.
0
@Fifthx: Go
Yes, I use triggers when it comes to scaling and computed values
0
I wonder if you can do this with search Areas...
Ability: Target
SelfHealEffect
SelfHealBonusEffect
TargetHealEffect
Make the SearchArea really small SearchAreaTargetEffect with TargetHealEffect filter for whatever
SearchAreaSelfEffect with SelfBonusHealEffect filter for self:required
HealSet - SelfHealEffect:
HealSetTarget
HealSetTarget SearchAreaTargetEffect
SearchAreaSelfEffect
If that doesn't work... I would just do it with triggers. Or look into validators. Im not the best with those.
0
Thanks! So use ability effects to move the unit. Easy.
0
It looks like the height being set is relative to the current height of casting unit.
So if your casting unit is one level up and the target is 1 below.
It will only goto ground level of casting unit.
0
I have found with abilities with variable effect amounts are best done with triggers.
0
I had to put an event on the actor of the flying unit to get it to work. Still kinda buggy for me though.
Behavior.*.On
-Set Height
0
Amen. Thanks. Sounds like it is best to do it with triggers...
0
I'm trying to figure this out as well just haven't gotten around to it yet. But it has to be along the lines of On kill give unit a permanent behavior. Not sure what is the best way to detect on kill part.
0
Im trying to make a Behavior that brings an Air unit to the Ground.
On the behavior in the modifications field I have these fields set: Unit: Height > 0
Movement: Plane Delta > Air = -1 | Ground =1
Ground units can target air unit with this buff but...
The unit is still up in the air.
The Height field does not accept negative values.
When I give it the value 1 it adds 1 to unit height sending them farther in the air.
How do I get the unit Height to 0?
0
Here is a video to one of my abilities!
0
Thanks guys! I got it working and starting to understand actors better.
There seems to be 3 default events that come with every model actor that I do not touch.
Actor Creation
- Animation bracket start
ActorOrphan
- Destory
AnimationBracketState.
- More Stuff
After that I just but my events based off Abilities, Events and Behavior status's and they work great!