• 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.

[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