AlicanC
New Member
- Reaction score
- 2
Here is my trigger:
Here is my problems:
-Sound is not played
-Camera is not panned
-Hero revied at Player Green's start location
-Hero is not selected after revive
Will this effect my trigger:
-"Revive Hero" sets "Last_Player" to "Owner of Last_Unit"
-While "Revive Hero" is waiting, another trigger sets "Last_Player" to "Player Green"
-"Revive Hero" revives the hero at "Start location of Player Green"
????
Code:
Revive Hero
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Set Last_Unit = (Dying unit)
Set Last_Player = (Owner of Last_Unit)
Set Hero_Alive[(Player number of Last_Player)] = False
-------- Play Sound --------
Sound - Play HeroDeath <gen>
-------- Display Message --------
Game - Display to (Player group(Last_Player)) for 10.00 seconds the text: |c00ff0000Y|r|c00ff...
-------- Wait --------
Wait 10.00 seconds
-------- Pan to start location --------
Camera - Pan camera for Last_Player to (Last_Player start location) over 0.00 seconds
-------- Revive hero --------
Hero - Instantly revive Last_Unit at (Last_Player start location), Show revival graphics
Set Hero_Alive[(Player number of Last_Player)] = True
-------- Select hero --------
Selection - Select Last_Unit for Last_Player
-Sound is not played
-Camera is not panned
-Hero revied at Player Green's start location
-Hero is not selected after revive
Will this effect my trigger:
-"Revive Hero" sets "Last_Player" to "Owner of Last_Unit"
-While "Revive Hero" is waiting, another trigger sets "Last_Player" to "Player Green"
-"Revive Hero" revives the hero at "Start location of Player Green"
????