- Joined
- Dec 29, 2009
- Messages
- 928
Yes, me again.
I'm working on the hero revival system for my map,
and I checked the tutorials section and couldn't find anything to help.
What I have thus far is this:
This is a hassle, and although it could be done, I thought I might ask if there is a better way first.
Any help provided is appreciated, of course.
I'm working on the hero revival system for my map,
and I checked the tutorials section and couldn't find anything to help.
What I have thus far is this:
-
HR Timer Set
-

Events
-


Unit - A unit Dies
-
-

Conditions
-


((Triggering unit) is A Hero) Equal to True
-


(Triggering unit) Equal to HS_PlayerHero[(Player number of (Owner of (Triggering unit)))]
-


((Owner of (Triggering unit)) slot status) Equal to Is playing
-


((Owner of (Triggering unit)) controller) Equal to User
-
-

Actions
-


Countdown Timer - Start HR_ReviveTimer[(Player number of (Owner of (Triggering unit)))] as a One-shot timer that will expire in 30.00 seconds
-


Set HR_ReviveTimer[(Player number of (Owner of (Triggering unit)))] = (Last started timer)
-


Countdown Timer - Create a timer window for HR_ReviveTimer[(Player number of (Owner of (Triggering unit)))] with title ((Name of (Owner of (Triggering unit))) + - )
-


Set HR_ReviveTimerWindow[(Player number of (Owner of (Triggering unit)))] = (Last created timer window)
-
-
-
HR Timer End 1
-

Events
-


Time - HR_ReviveTimer[1] expires
-
-

Conditions
-

Actions
-


Hero - Instantly revive HS_PlayerHero[1] at HR_RevivePoint[1], Hide revival graphics
-


Set HR_TempLoc = (Position of HS_PlayerHero[1])
-


Special Effect - Create a special effect at HR_TempLoc using war3mapImported\HolyAwakening.mdx
-


Special Effect - Destroy (Last created special effect)
-


Custom script: call RemoveLocation(udg_HR_TempLoc)
-


Camera - Pan camera for Player 1 (Red) to HR_RevivePoint[1] over 0.00 seconds
-


Selection - Clear selection for Player 1 (Red)
-


Selection - Select HS_PlayerHero[1] for Player 1 (Red)
-
-
This is a hassle, and although it could be done, I thought I might ask if there is a better way first.
Any help provided is appreciated, of course.







