• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

GUI Trigger

Status
Not open for further replies.
Nope didn't work

Here is the trigger exactly:
  • Die Lever
    • Events
      • Destructible - Lever 0053 <gen> dies
    • Conditions
    • Actions
      • Unit - Kill (Killing unit)
      • Wait 2.00 seconds
      • Destructible - Resurrect Lever 0053 <gen> with (Max life of Lever 0053 <gen>) life and Hide birth animation
 
  • blaba
    • Events
      • Destructible - Summer Tree Wall 0000 <gen> dies
    • Conditions
    • Actions
      • Set Killing_Unit = (Killing unit)
      • Unit - Kill Killing_Unit
      • Set Killing_Unit = No unit
      • Wait 2.00 seconds
      • Destructible - Resurrect Summer Tree Wall 0000 <gen> with (Max life of Summer Tree Wall 0000 <gen>) life and Show birth animation
Create one Unit variable and then set it as the killing unit. I hope you know something about variables otherwise just tell :)
 
or you can try this:

  • Test3
    • Events
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • (Destructible-type of (Target destructible of issued order)) Equal to (Destructible-type of Lever 0001 <gen>)
    • Actions
      • Unit - Kill (Triggering unit)
      • Destructible - Resurrect (Target destructible of issued order) with (Max life of (Last created destructible)) life and Hide birth animation
PS: I know it doesn't make exactly what you need, but i don't know if you'll find a better trigger. Good luck.
 
Last edited:
Status
Not open for further replies.
Back
Top