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

Help w/ a trigger on my map

Status
Not open for further replies.
Level 3
Joined
Apr 28, 2004
Messages
57
Hey I need help. I am making a map in which I want creeps to respawn in the places people kill them, but the only way I seem to be able to do this is to go through each unit comparsion condition. It takes a really long time doing, doomguard, felbeast, stayr, etc. Can anyone help me with this?
 
Level 3
Joined
Jun 29, 2004
Messages
56
to do this you must:

event: -(triggering creep gets killed)
contition:- (none)
action: -(wait ??? seconds)
-(make a special effect would be cool)
-(respawn triggering creep)

sumthing like this would work but im not quite sure there is a respawn unit action? Il let you figure this out.
GOOD LUCK :wink: !!!
 
Level 3
Joined
Apr 28, 2004
Messages
57
So far I have

Event - A unit owned by neutral hostile dies
Condition - Unit type equal to so and so
Action -

That's all I got...

I am making an AoS map, and there is a place where they cna kill creeps to reach a shop, but I want the creeps to respawn so it keeps them from just waltzing in there.
 
Level 13
Joined
May 5, 2004
Messages
1,330
Here the required trigger

CreepRevive
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Equal to Neutral Hostile
Actions
Unit - Create 1 (Unit-type of (Dying unit)) for Neutral Hostile at (Position of (Dying unit)) facing [Any area or so, that's unimportant])

Probably you wanna have some time before the unit spawns again, simply add a wait action before the unit creation. btw, I'm not quite sure if that easy version will work if many creeps are killed the same time. Test it. There's a trigger system that is more save, but requires variables and more triggers.
 
Level 3
Joined
Apr 28, 2004
Messages
57
One more quick question. When units spawn, how do you keep them following a certain path, they seem to find the shortest way.... going out of their spawn lane.
 
Status
Not open for further replies.
Top