Is this revive trigger good?

Crusher

You can change this now in User CP.
Reaction score
121
Okay lately I've seen in my map that somethimes the hero does not revive after the revive counter is over , what is the problem here ( I will show you just once , for an example ) :

Trigger:
  • Revive Player 3
    • Events
      • Unit - A unit owned by Player 3 (Teal) Dies
    • Conditions
      • ((Dying unit) is A Hero) Equal to True
    • Actions
      • Set Revive_Region_Human = (Center of revive sent <gen>)
      • Set ReviveSeconds3 = ((Real((Level of (Dying unit)))) + 10.00)
      • Countdown Timer - Create a timer window for ReviveTimerPlyr3 with title ((Name of Player 3 (Teal)) + Revive time<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />
      • Set ReviveTimerWindowPlyr3 = (Last created timer window)
      • Countdown Timer - Start ReviveTimerPlyr3 as a One-shot timer that will expire in ReviveSeconds3 seconds
      • Countdown Timer - Show ReviveTimerWindowPlyr3
      • Wait ReviveSeconds3 seconds
      • Countdown Timer - Destroy ReviveTimerWindowPlyr3
      • Hero - Instantly revive (Dying unit) at Revive_Region_Human, Show revival graphics
      • Camera - Pan camera for Player 3 (Teal) to Revive_Region_Human over 0.00 seconds
      • Selection - Select (Dying unit) for (Owner of (Dying unit))
      • Custom script: call RemoveLocation(udg_Revive_Region_Human)


EDIT - Perhaps the problem is that I always destroy location on end? Or the trigger is ok and something else causes hero to dissapear when needed?
 

Crusher

You can change this now in User CP.
Reaction score
121
So I need to set
Trigger:
  • Set Revive_Region_Human = (Center of revive sent &lt;gen&gt;)
after the wait ? Anything else to do?

Off Topic :

+ Rep.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top