- Joined
- Oct 28, 2019
- Messages
- 475
The spell raise dead only works in 1500 range, even the cast range and area effect changes to 99999
So i´ve decided make a trigger, but I´m having troubles.
The skeletons raises, but need change the skeleton raised with 2 upgrades,
Normal low skeleton
first upgrade medium skeleton
second upgrade High skeleton, need help this guys
So i´ve decided make a trigger, but I´m having troubles.
-
Zigurat´s raise dead
-
Events
- Unit - A unit Dies
-
Conditions
- (Distance between (Position of Zigurate 0012<gen>) and (Position of (Triggering unit))) Less than or equal to 3000.00
- ((Triggering unit) is A structure) Equal to Falso
- ((Triggering unit) is Summoned) Equal to Falso
- ((Triggering unit) is Mechanical) Equal to Falso
- ((Triggering unit) is Undead) Equal to Falso
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- upgradedskeletons to (Researched tech-type)
-
Then - Actions
- Wait 2.20 seconds
- Unit - Replace (Dying unit) with a inferior skeleton using The new unit's default life and mana
- Animation - Play (Last replaced unit)'s birth animation
- Special Effect - Create a special effect at (Position of (Last replaced unit)) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
- Else - Actions
-
If - Conditions
- Wait 2.20 seconds
- Unit - Replace (Dying unit) with a medium skeleton using The new unit's default life and mana
- Animation - Play (Last replaced unit)'s birth animation
- Special Effect - Create a special effect at (Position of (Last replaced unit)) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
The skeletons raises, but need change the skeleton raised with 2 upgrades,
Normal low skeleton
first upgrade medium skeleton
second upgrade High skeleton, need help this guys
Last edited: