I was making a boss for my new map and stumbled against a problem. This boss does an aoe attack with an animation that has him spinning around like a bladestorm, the aoe is done with a behavior. Then i tried in actor events whenever the behvior is on play the animation forever(else he does not keep spinning) and when behavior off clear the animation. It looked like it worked but the animation doesnt play if he gets the aoe behavior while hes attacking. Anyway i tried something else, this time i destroy the actor whenever behavior aoe is on and create whenever it goes off, then i create a new actor that has for baseline/walk animation aoe-attack animation now create this whenever the behavior is on and destory this when it goes off.
Both tries seemed to work but had a little glitch so this second way the newly created actor for the Aoe doesnt move along with the unit, if this works i got exactly what i want, how do i fix this?
Too bad no one was able to help me, cost me tons of time to figure out, however...
I made an actor model addition for the aoe and set the events to create at unitbirt but make it invisible then whenever the aoe buff is on i set it to visible and i let the aoe animation play forever, if the buff is off again set to invisible. Then i go to main actor whenever buff is on set invisible and whenever buff off set visible. Now the unit only shows aoe animation while hes aoe attacking and the modeladdition is attached to the unit so it moves along with the unit while playing the animation.
But i still didn't figure out why the extra unit actor i made for the unit didn't move along with the unit. So instead i used model addition which did move with the unit.
But i still didn't figure out why the extra unit actor i made for the unit didn't move along with the unit. So instead i used model addition which did move with the unit.
One unit only supports one unit actor.
Quote:
Btw dude why did u never finish HeroLineWars :x
Yeah, sorry about that :) Maybe I get back to it at some point.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
HEy ppl,
I was making a boss for my new map and stumbled against a problem. This boss does an aoe attack with an animation that has him spinning around like a bladestorm, the aoe is done with a behavior. Then i tried in actor events whenever the behvior is on play the animation forever(else he does not keep spinning) and when behavior off clear the animation. It looked like it worked but the animation doesnt play if he gets the aoe behavior while hes attacking. Anyway i tried something else, this time i destroy the actor whenever behavior aoe is on and create whenever it goes off, then i create a new actor that has for baseline/walk animation aoe-attack animation now create this whenever the behavior is on and destory this when it goes off.
Both tries seemed to work but had a little glitch so this second way the newly created actor for the Aoe doesnt move along with the unit, if this works i got exactly what i want, how do i fix this?
thmx for the time
@Rice87: Go
Too bad no one was able to help me, cost me tons of time to figure out, however...
I made an actor model addition for the aoe and set the events to create at unitbirt but make it invisible then whenever the aoe buff is on i set it to visible and i let the aoe animation play forever, if the buff is off again set to invisible. Then i go to main actor whenever buff is on set invisible and whenever buff off set visible. Now the unit only shows aoe animation while hes aoe attacking and the modeladdition is attached to the unit so it moves along with the unit while playing the animation.
So you solved your problem?
@Kueken531: Go
yes, im happy :D
But i still didn't figure out why the extra unit actor i made for the unit didn't move along with the unit. So instead i used model addition which did move with the unit.
Btw dude why did u never finish HeroLineWars :x
One unit only supports one unit actor.
Yeah, sorry about that :) Maybe I get back to it at some point.