- Joined
- Mar 19, 2008
- Messages
- 6
This would be like a revival trigger except I need the unit to be a completely different unit instead of reviving it.
The only way I can think of is:
Is there an easier way?
Thanks.
The only way I can think of is:
-
Events
- Unit - A unit Dies
-
Conditions
- ((Dying unit) is A Hero) Equal to True
-
Actions
- Unit - Remove (Triggering unit) from the game
- Unit - Create 1 (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at (Center of RECT <gen>) facing Default building facing (270.0) degrees
- Hero - Set (Last created unit) Hero-level to (Hero level of (Triggering unit)), Hide level-up graphics
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of ABILITY for (Triggering unit)) Greater than 0
-
Then - Actions
- Unit - Add ABILITY to (Last created unit)
- Else - Actions
-
If - Conditions
Is there an easier way?
Thanks.