so my problem currently is this:
I am making a unit for my custom map which uses a talent from WoW, named Killing Spree.
Basically I am trying to get my unit to teleport to 1 target every second for 8 seconds( 8 targets overall ) in a 5 yard radius.
So far I got 2 different versions, both not working 100%.
Version 1
A = Ability
B = Behavior
E = Effect
Name
Effect
Target
(A) Killing Spree
It's the Ability
(E) Search Area
(E) Search Area
Searches Area for targets
(E) Set
(E) Set
Consists of Teleport + Apply Behavior
(E) Teleport + Apply Behavior
(E) Teleport
Teleports me to the target
end
(B) Apply Behavior
Behavior on me for 1 second, expires
(E) Search Area
and the cycle is complete.
Version 2
A = Ability
B = Behavior
E = Effect
Name
Effect
Target
(A) Killing Spree
It's the Ability
(B) Apply Behavior
(B) Apply Behavior
Behavior on me for 8 seconds, persistent
(E) Persistent Effect
(E) Persistent Effect
Search Area for 1 second every 8 seconds
(E) Search Area
(E) Search Area
Searches Area for targets
(E) Teleport
(E) Teleport
Teleports me to the target
end
and the persistent effect is complete.
So far, both work if I use my Ability on a unit that is alone. He teleports to the target and attacks it, my behavior is applied on me until the unit dies.
It seems that somehow the search area effect keeps refreshing the behavior.
As soon as I use
Version 1
in a group of units, the he teleports to a unit, applies the behavior BUT it doesn't expire, its on me for as long as I am alive and/or as long as there are enemy units to attack. I don't understand how the behavior can be on me for the whole fight/time as long as the above conditions are given.
(E) Search Area effects only 1 target since targets(for the search) is set to 1 and count as well(of the effect).
(B) Apply Behavior shouldn't keep the behavior on me at all times, it is set to 1 second.
Version 2
in a group of units, he teleports to a unit and does nothing, the end
I don't like Version 2, so I'd rather stick with Version 1
Any help is desirable =O
type 1 you get an 8 second behavior buff, If this is lasting past 8 seconds you have something somewhere refreshing it. you probably have it on the search on accident.
type 2, your problem is that nothing ends the cycle. the search gives you a 1 second buff that when it expires does the search again, which causes the buff ect. so it will never end unless something prevents you from getting the buff once it's gone.
ideally idea 1 is better.
the problem you are having is probably the buff being reapplied when you teleport which it shouldn't once the 8 seconds are over the effect should stop happening. make sure the behavior has an 8 second duration.
also you might want to add a debuff to the target of the search to use for target sorting so you won't attack the same unit over and over if there are more nearby.
thanks for the help, tho i am still having troubles :/
I created a new ability, made it as a "behavior", linked it to a behavior with a duration of 8 seconds, period count is -1 and period duration is 1 second. the period effect targets a persistent effect which has a count of 1 and targets my search effect, the search effect has a 5 yard radius and can target 1 unit.the search area effect targets my teleport effect, which has 0 yard min range and 8 yard max range.
so either i am not seeing something here, or my search function can not call my teleport effect.
any idea?
hey there again - I got everything working now except that there seems to be one little problem.
as soon as there are no units left in range/ all are dead and my ability is still running(the 8 secs behavior) my units start to walk towards the left bottom corner for no reason. they even walk against walls and so on, they don't care if there is actually a path or not, they just run towards the bottom left corner.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi there,
so my problem currently is this: I am making a unit for my custom map which uses a talent from WoW, named Killing Spree. Basically I am trying to get my unit to teleport to 1 target every second for 8 seconds( 8 targets overall ) in a 5 yard radius. So far I got 2 different versions, both not working 100%.
Version 1
A = Ability
B = Behavior
E = Effect
and the cycle is complete.
Version 2
A = Ability
B = Behavior
E = Effect
and the persistent effect is complete.
So far, both work if I use my Ability on a unit that is alone. He teleports to the target and attacks it, my behavior is applied on me until the unit dies.
It seems that somehow the search area effect keeps refreshing the behavior.
As soon as I use
Version 1
in a group of units, the he teleports to a unit, applies the behavior BUT it doesn't expire, its on me for as long as I am alive and/or as long as there are enemy units to attack. I don't understand how the behavior can be on me for the whole fight/time as long as the above conditions are given.
Version 2
in a group of units, he teleports to a unit and does nothing, the end
I don't like Version 2, so I'd rather stick with Version 1
Any help is desirable =O
regards,
awron
@Awron: Go
okay I think you mixed them up a bit.
type 1 you get an 8 second behavior buff, If this is lasting past 8 seconds you have something somewhere refreshing it. you probably have it on the search on accident.
type 2, your problem is that nothing ends the cycle. the search gives you a 1 second buff that when it expires does the search again, which causes the buff ect. so it will never end unless something prevents you from getting the buff once it's gone.
ideally idea 1 is better.
the problem you are having is probably the buff being reapplied when you teleport which it shouldn't once the 8 seconds are over the effect should stop happening. make sure the behavior has an 8 second duration.
also you might want to add a debuff to the target of the search to use for target sorting so you won't attack the same unit over and over if there are more nearby.
@Ginsupup: Go
thanks for the help, tho i am still having troubles :/
I created a new ability, made it as a "behavior", linked it to a behavior with a duration of 8 seconds, period count is -1 and period duration is 1 second. the period effect targets a persistent effect which has a count of 1 and targets my search effect, the search effect has a 5 yard radius and can target 1 unit.the search area effect targets my teleport effect, which has 0 yard min range and 8 yard max range. so either i am not seeing something here, or my search function can not call my teleport effect. any idea?
regards, awron
@edit
ok i got it working now, thanks :)
hey there again - I got everything working now except that there seems to be one little problem.
as soon as there are no units left in range/ all are dead and my ability is still running(the 8 secs behavior) my units start to walk towards the left bottom corner for no reason. they even walk against walls and so on, they don't care if there is actually a path or not, they just run towards the bottom left corner.