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

Respawn creeps with item table.

Status
Not open for further replies.
Level 7
Joined
Jul 2, 2004
Messages
97
Hey, I need to make a trigger so that when a hostile creep dies it revives in 300 seconds with the original item table i gave it. I know how to do the create a new creep equal to the one that died after 300 seconds but i cant figure out how to give it an item table or better yet the one the triggering dieing unit had. Is this possible? If so please give me a hand.

Edit: Heres the trigger i have right now.

Creep Respawn
Events
Unit - A unit Dies
Conditions
(Owner of (Triggering unit)) Equal to Neutral Hostile
Actions
Wait 300.00 seconds
Unit - Create 1 (Unit-type of (Triggering unit)) for Neutral Hostile at (Position of (Triggering unit)) facing (Position of (Triggering unit))

Any ideas or any type of solution would be very appreciated.


Thanks for reading,
LoDown
 
Level 7
Joined
Jul 2, 2004
Messages
97
Would there be any kind of alternative trigger solution? Like a triggerish item table for each type of unit? Like:

Event:
Unit dies.
Condition:
Unit type of unit equal to Kobold.
Action:
[SOme type of item chance drops and stuff]
 
Level 9
Joined
Nov 27, 2004
Messages
465
asi i said before Dl and you'll see
there is :
Event
Unit Die
Action:
wait 300 seconds
create 1 unit-type triggering unit at position of triggering unit with default looking angle
add him an ability carrier (human)
(hint: i change that ability from 2 to 6 slots)
make random level ( -1 or the level of triggering unit or as you want but not a table:( ) item and give him to last created unit
_______________________
about that trigger:
Directory: "passive angry units"
trigger: "angry respawn"
_________________________

Emm i thought that triggering unit for now is the same with the dying one , and for what place of trigger did you tell that? Because some places are really needed "dying uniy"
 
Status
Not open for further replies.
Top