• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

How to create a group of player unit dies , then after few seconds recreate back

Status
Not open for further replies.
Level 6
Joined
Mar 9, 2009
Messages
175
How to create a group of player unit dies , then after few seconds recreate back ? Man help me >.<


thanks you:vw_unimpressed::grin:
 
Level 12
Joined
Oct 10, 2009
Messages
438
  • Events
    • Unit - A unit dies
  • Conditions
    • Triggering unit is equal to XXX
  • Actions
    • Unit - Create 1 (Unit type of(Triggering unit)) for (Owner of triggering unit) at (Position of triggering unit)

There you are, on death. At unit is recreated. Just change the XXX to whatever if you need a condition.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Test map attached
Each unit dies, will register its location at the location of his death point
And will "re-create" once after 5 seconds
MUI, of course

If you want normal units only, just add this to the Condition in my test map:
  • Conditions
    • ((Triggering unit) is A Hero) Equal to False
EDIT:
Test map has been optimized
 

Attachments

  • Simple Respawn Trigger.w3x
    13.1 KB · Views: 38
Status
Not open for further replies.
Top