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

Killed creeps respawn

Status
Not open for further replies.
Level 4
Joined
Apr 24, 2008
Messages
95
I need trigger when you killed zombie he will respawn after 100 sec. on his death position every 100 sec.
 
Level 5
Joined
Jun 7, 2008
Messages
141
There's no trigger needed, simply take the Reincarnation ability with the following: 0 cooldown, 100 reincarnation delay. You'd might as well change the model art.

Though, you should remember, when a unit has the ability of reincarnation and is killed, no experience is gained and it's not really considered a "kill". :wink:
 
Credit Hanky for this

  • Respawn
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Zombie
    • Actions
      • Custom script: local unit u=GetTriggerUnit()
      • Custom script: local real x=GetUnitX(u)
      • Custom script: local real y=GetUnitY(u)
      • Custom script: call TriggerSleepAction(100.)
      • Custom script: call CreateUnit(Player(1),GetUnitTypeId(u),x,y,270.)
      • Custom script: call DestroyEffect(AddSpecialEffect("Objects\\Spawnmodels\\Other\\ToonBoom\\ToonBoom.mdl",x,y))
      • Custom script: set u=null
 
Status
Not open for further replies.
Top