stue
New Member
- Reaction score
- 0
Basically I have a simple trigger that when a hero cast a spell,
a multiple dummy units are created at that point and consecutively cast
Carrion swarm to the point cast of the spell that triggered it.
I know it looks really ugly. The dummy units are already on the map,
thus i just move them. I tried making them face the point instantly,
but it still doesnt help. At certain angles... they just miss.
the dummy unit, is flying, locust, no model... etc
(my original version used a loop, and made units.... I made this version
to test everything.... )
Any ideas?
a multiple dummy units are created at that point and consecutively cast
Carrion swarm to the point cast of the spell that triggered it.
I know it looks really ugly. The dummy units are already on the map,
thus i just move them. I tried making them face the point instantly,
but it still doesnt help. At certain angles... they just miss.
the dummy unit, is flying, locust, no model... etc
(my original version used a loop, and made units.... I made this version
to test everything.... )
Any ideas?
Trigger:
- AuraWave
- Events
- Unit - Auramancer 0009 <gen> Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Aura Wave (auramancer)
- Actions
- Region - Center aurawave target <gen> on (Target point of ability being cast)
- Region - Center auramancerwavestand <gen> on (Position of Auramancer 0009 <gen>)
- Set aurawaves = (Level of Aura Wave (auramancer) for Auramancer 0009 <gen>)
- Set aurawavetargetpoint = (Target point of ability being cast)
- Unit - Move Aurawave Dummy recall unit 0183 <gen> instantly to (Center of auramancerwavestand <gen>)
- Unit - Make Aurawave Dummy recall unit 0183 <gen> face (Center of aurawave target <gen>) over 0.00 seconds
- Unit - Move Aurawave Dummy recall unit 0217 <gen> instantly to (Center of auramancerwavestand <gen>)
- Unit - Make Aurawave Dummy recall unit 0217 <gen> face (Center of aurawave target <gen>) over 0.00 seconds
- Unit - Move Aurawave Dummy recall unit 0218 <gen> instantly to (Center of auramancerwavestand <gen>)
- Unit - Make Aurawave Dummy recall unit 0218 <gen> face (Center of aurawave target <gen>) over 0.00 seconds
- Unit - Move Aurawave Dummy recall unit 0219 <gen> instantly to (Center of auramancerwavestand <gen>)
- Unit - Make Aurawave Dummy recall unit 0219 <gen> face (Center of aurawave target <gen>) over 0.00 seconds
- Unit - Move Aurawave Dummy recall unit 0222 <gen> instantly to (Center of auramancerwavestand <gen>)
- Unit - Make Aurawave Dummy recall unit 0222 <gen> face (Center of aurawave target <gen>) over 0.00 seconds
- Wait 1.00 seconds
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Percentage mana of Auramancer 0009 <gen>) Greater than or equal to 50.00
- Then - Actions
- Set aurawaves = (aurawaves + 1)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- aurawaves Greater than or equal to 1
- Then - Actions
- Unit - Order Aurawave Dummy recall unit 0183 <gen> to Undead Dreadlord - Carrion Swarm (Center of aurawave target <gen>)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- aurawaves Greater than or equal to 2
- Then - Actions
- Wait 0.07 seconds
- Unit - Order Aurawave Dummy recall unit 0217 <gen> to Undead Dreadlord - Carrion Swarm aurawavetargetpoint
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- aurawaves Greater than or equal to 3
- Then - Actions
- Wait 0.07 seconds
- Unit - Order Aurawave Dummy recall unit 0218 <gen> to Undead Dreadlord - Carrion Swarm (Center of aurawave target <gen>)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- aurawaves Greater than or equal to 4
- Then - Actions
- Wait 0.07 seconds
- Unit - Order Aurawave Dummy recall unit 0219 <gen> to Undead Dreadlord - Carrion Swarm (Center of aurawave target <gen>)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- aurawaves Greater than or equal to 5
- Then - Actions
- Wait 0.07 seconds
- Unit - Order Aurawave Dummy recall unit 0222 <gen> to Undead Dreadlord - Carrion Swarm (Center of aurawave target <gen>)
- Else - Actions
- If - Conditions
- Events