Spell Trigger Issue
I'm trying to make it so after seconds of casting Rejuvenation that it spawns a dummy unit at the location of the target of rejuvenation and have it cast Chain heal on the target. It works If I don't move. But if I move around the variable:
Okay, I have these triggers:
It would be great as well if someone could help me make it MUI as well.
Will +rep if problem is solved.
Note: This may or may not be an easy fix, like I said before I'm kinda new.
UPDATE: I found out why and I have it working now. All I need is someone to help me make it MUI.
I'm trying to make it so after seconds of casting Rejuvenation that it spawns a dummy unit at the location of the target of rejuvenation and have it cast Chain heal on the target. It works If I don't move. But if I move around the variable:
- Set Natures_Bloom_Target = (Target point of ability being cast)
Okay, I have these triggers:
-
Rejuv Bloom
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Nature's Bloom
-
Actions
- Set Counter = 0.00
- Set Natures_Bloom_Owner = (Triggering player)
- Set Natures_Bloom_Caster = (Triggering unit)
- Set Natures_Bloom_Target = (Target point of ability being cast)
- Trigger - Turn on Rejuv Bloom Action <gen>
-
Events
-
Rejuv Bloom Action
-
Events
- Time - Every 0.01 seconds of game time
- Conditions
-
Actions
- Set Counter = (Counter + 0.01)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Integer(Counter)) Greater than or equal to 5
-
Then - Actions
- Unit - Create 1 Nature's Bloom Dummy for Natures_Bloom_Owner at Natures_Bloom_Target facing Default building facing degrees
- Set Natures_Bloom_Dummy = (Last created unit)
- Unit - Order Natures_Bloom_Dummy to Orc Shadow Hunter - Healing Wave Natures_Bloom_Caster
- Unit - Add a 1.00 second Generic expiration timer to Natures_Bloom_Dummy
- Custom script: call RemoveLocation(udg_Natures_Bloom_Target)
- Trigger - Turn off (This trigger)
- Else - Actions
-
If - Conditions
-
Events
It would be great as well if someone could help me make it MUI as well.
Will +rep if problem is solved.
Note: This may or may not be an easy fix, like I said before I'm kinda new.
UPDATE: I found out why and I have it working now. All I need is someone to help me make it MUI.
Last edited: