Dark_Phoenix
New Member
- Reaction score
- 3
Immo Trigger Isn't Working (+rep!)
This immo trigger isnt working...why not?
(Blitz is based off Bloodlust and the dummy spell is based off immolation).
Code:
Blitz
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Blitz (Dummy!)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(String((Issued order))) Equal to immolation
Then - Actions
Set tempPoint = (Position of (Triggering unit))
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at tempPoint facing Default building facing degrees
Unit - Add Blitz to (Last created unit)
Unit - Set level of Blitz for (Last created unit) to (Level of Blitz (Dummy!) for (Triggering unit))
Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Triggering unit)
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(String((Issued order))) Equal to unimmolation
Then - Actions
Unit - Remove Blitz buff from (Triggering unit)
Else - Actions
Custom script: call RemoveLocation(udg_tempPoint)
This immo trigger isnt working...why not?
(Blitz is based off Bloodlust and the dummy spell is based off immolation).