• 🏆 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!

[Trigger] Respawn Trigger for RPG

Status
Not open for further replies.
Level 3
Joined
Dec 24, 2007
Messages
51
I'm working on a RPG currently, and I need a universal respawn trigger for the creeps (the creeps are under a computer player). Does anyone know a trigger that will respawn units every few minutes, because the only way I know how to respawn is with a trigger per unit. (that would be a lot of triggers).
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
  • Untitled Trigger 001.9
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Owner of (Triggering unit)) Equal to Neutral Hostile
    • Actions
      • Wait X seconds
      • Set Point = (Position of (Triggering unit))
      • Unit - Create 1 (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at Point facing Default building facing degrees
      • Custom script: call RemoveLocation(udg_Point)
 
Status
Not open for further replies.
Top