Galdiuz
Creator of Photon Command
- Reaction score
- 98
So, i got a revival trigger for my map, however, there seems to be something wrong with it. It works perfectly for Player 1 (Red), but any other player gets revived instantly, due to timer not starting. Anyone solution to this? EDIT: There is no other trigger that uses the Player_Timer variable.
Trigger:
- Sheep Dies
- Events
- Unit - A unit Dies
- Conditions
- ((Triggering unit) is A Hero) Equal to True
- Actions
- Set Atemp_aloc = (Position of (Triggering unit))
- Special Effect - Create a special effect at Atemp_aloc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Set Player_Kills[(Player number of (Owner of (Killing unit)))] = (Player_Kills[(Player number of (Owner of (Killing unit)))] + 1)
- Set Player_Deaths[(Player number of (Owner of (Triggering unit)))] = (Player_Deaths[(Player number of (Owner of (Triggering unit)))] + 1)
- Camera - Pan camera for (Owner of (Triggering unit)) to Atemp_aloc over 0.50 seconds
- EGUI Leak - Remove Atemp_aloc
- Countdown Timer - Start Player_Timer[(Player number of (Owner of (Triggering unit)))] as a One-shot timer that will expire in (1.50 x (Real((Level of (Triggering unit))))) seconds
- Wait until ((Remaining time for Player_Timer[(Player number of (Owner of (Triggering unit)))]) Equal to 0.00), checking every 0.10 seconds
- Camera - Pan camera for (Owner of (Triggering unit)) to ((Owner of (Triggering unit)) start location) over 0.50 seconds
- Hero - Instantly revive (Triggering unit) at ((Owner of (Triggering unit)) start location), Show revival graphics
- Selection - Select (Triggering unit) for (Owner of (Triggering unit))
- Unit - Order (Triggering unit) to Hold Position
- Events