Hero Revive Like DotA

Arash5

New Member
Reaction score
0
H!
I Want To Create DotA Revive Trigger But I Dont Know How
I Want That If The Dying Hero Is Level 1 It Revive In 1 Sec
But If It Is Level 2 It Revive In 2 Sec And Like That...
How To Create DotA Revive System ?
Pls Help Me
Thank You Very Much
 

Arash5

New Member
Reaction score
0
I Don't Under Stand That Map I HAve Copy All Trigger For Revive But My Hero Those not revive I Don't Know Why!
 

King.Sky_Gem

New Member
Reaction score
2
Trigger:
  • Revive Hero
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Dying unit) is A Hero) Equal to True
    • Actions
      • Unit Group - Add (Dying unit) to RevivableHeroes
      • Set TempReal = (((Real((Hero level of (Dying unit)))) x Hero_Revive_Time_Factor) + 5.00)
      • If (UberMode_On Equal to True) then do (Set TempReal = (TempReal x 0.50)) else do (Do nothing)
      • Countdown Timer - Start ReviveTimers[(Player number of (Owner of (Dying unit)))] as a One-shot timer that will expire in TempReal seconds
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Multiboard_ShowDeaths Equal to False
        • Then - Actions
          • Countdown Timer - Create a timer window for (Last started timer) with title (Name of (Owner of (Dying unit)))
          • Countdown Timer - Show (Last created timer window) for (Owner of (Dying unit))
          • Set RevivableTimersWindows[(Player number of (Owner of (Dying unit)))] = (Last created timer window)
        • Else - Actions
    • ----------------------------------------------------------------------------------
    • Revive Hero Timer
      • Events
        • Time - ReviveTimers[2] expires
        • Time - ReviveTimers[3] expires
        • Time - ReviveTimers[4] expires
        • Time - ReviveTimers[5] expires
        • Time - ReviveTimers[6] expires
        • Time - ReviveTimers[8] expires
        • Time - ReviveTimers[9] expires
        • Time - ReviveTimers[10] expires
        • Time - ReviveTimers[11] expires
        • Time - ReviveTimers[12] expires
      • Conditions
      • Actions
        • Unit Group - Pick every unit in RevivableHeroes and do (Actions)
          • Loop - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Remaining time for ReviveTimers[(Player number of (Owner of (Picked unit)))]) Less than 1.00
              • Then - Actions
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • ((Owner of (Picked unit)) is in PlayersSentinel) Equal to True
                  • Then - Actions
                    • Hero - Instantly revive (Picked unit) at (Center of Hero Spawn Respawn <gen>), Show revival graphics
                  • Else - Actions
                    • Hero - Instantly revive (Picked unit) at (Center of Hero Spawn Respawn 2 <gen>), Show revival graphics
              • Else - Actions
    • ----------------------------------------------------------------------------------
    • Revive Hero Timer
      • Events
        • Time - ReviveTimers[2] expires
        • Time - ReviveTimers[3] expires
        • Time - ReviveTimers[4] expires
        • Time - ReviveTimers[5] expires
        • Time - ReviveTimers[6] expires
        • Time - ReviveTimers[8] expires
        • Time - ReviveTimers[9] expires
        • Time - ReviveTimers[10] expires
        • Time - ReviveTimers[11] expires
        • Time - ReviveTimers[12] expires
      • Conditions
      • Actions
        • Unit Group - Pick every unit in RevivableHeroes and do (Actions)
          • Loop - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Remaining time for ReviveTimers[(Player number of (Owner of (Picked unit)))]) Less than 1.00
              • Then - Actions
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • ((Owner of (Picked unit)) is in PlayersSentinel) Equal to True
                  • Then - Actions
                    • Hero - Instantly revive (Picked unit) at (Center of Hero Spawn Respawn <gen>), Show revival graphics
                  • Else - Actions
                    • Hero - Instantly revive (Picked unit) at (Center of Hero Spawn Respawn 2 <gen>), Show revival graphics
              • Else - Actions

That should be all you need from it
 

Moridin

Snow Leopard
Reaction score
144
King you really should put the triggers in separate tags :p. Otherwise people will get confused.
 

King.Sky_Gem

New Member
Reaction score
2
OK, I will next time.
And i see the confusion you were having Arash, under the first trigger there, delete the part of it that has 'Uber Mode' then it should be good.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top