- Joined
- Mar 30, 2008
- Messages
- 666
Hi guys,I have a problem with this trigger.
When the dummy (Warden,is a hero) unit jumps to an enemy my camera goes to the cemetery (there I can ressurect).
Is there a way to stop that camera? I want it to stop only for this dummy (hero),not for my (playing) Hero.
When my heroe dies,my camera goes to cemetery automatically.
Demon Casted
Demon Jump
When the dummy (Warden,is a hero) unit jumps to an enemy my camera goes to the cemetery (there I can ressurect).
Is there a way to stop that camera? I want it to stop only for this dummy (hero),not for my (playing) Hero.
When my heroe dies,my camera goes to cemetery automatically.
Demon Casted
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Shadow Strike
- (Ability being cast) Equal to Shadow Strike
-
Actions
- Set Owner_caster = (Player number of (Triggering player))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Casting unit)) Equal to Warden
-
Then - Actions
- Set Demon_caster = (Casting unit)
- Else - Actions
-
If - Conditions
- Unit - Set the custom value of (Target unit of ability being cast) to 1
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) has buff Shadow Strike) Equal to False
- (Custom value of (Picked unit)) Equal to 1
-
Then - Actions
- Wait 1.00 seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Custom value of (Picked unit)) Equal to 1
- ((Picked unit) has buff Shadow Strike) Equal to False
-
Then - Actions
- Unit - Set the custom value of (Picked unit) to 0
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
Demon Jump
-
Events
- Unit - A unit Dies
- Unit - A unit Dies
-
Conditions
- (Custom value of (Dying unit)) Equal to 1
- (Custom value of (Dying unit)) Equal to 1
-
Actions
- Set Demon_jump_target = (Random unit from (Units within 500.00 of (Position of (Dying unit)) matching ((((Matching unit) has buff Shadow Strike) Equal to False) and (((Life of (Matching unit)) Greater than or equal to 20.00) and (((Owner of (Matching unit)) is an enemy of (Player(Ow
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Demon_jump_target Not equal to Last_Demon_jump
-
Then - Actions
- Unit - Create 1 Warden for (Player(Owner_caster)) at (Position of (Dying unit)) facing Default building facing degrees
- Unit - Turn collision for (Last created unit) Off
- Hero - Set (Last created unit) Hero-level to 10, Hide level-up graphics
- Hero - Learn skill for (Last created unit): Shadow Strike
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Shadow Strike for Demon_caster) Equal to 2
-
Then - Actions
- Hero - Learn skill for (Last created unit): Shadow Strike
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Shadow Strike for Demon_caster) Equal to 3
-
Then - Actions
- Hero - Learn skill for (Last created unit): Shadow Strike
- Hero - Learn skill for (Last created unit): Shadow Strike
- Else - Actions
-
If - Conditions
- Unit - Order (Last created unit) to Night Elf Warden - Shadow Strike Demon_jump_target
- Unit - Add a 1.40 second Generic expiration timer to (Last created unit)
- Else - Actions
-
If - Conditions