• 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] Locust

Status
Not open for further replies.
Level 8
Joined
Aug 4, 2008
Messages
279
I have made a trigger like this:

A unit comes within 80 range of Hero <000>

Unit type of Triggering unit not equal to (Heroes)

Kill Hero <000>

(PROBLEM : If the triggering unit have locust, the trigger doesnt happens, and if I remove the locust, the units lost control and start running away)

You can try to help me in two ways :
Or give me something that kills instantly when a unit gets near (Escape example) **CANT BE IMMOLATION**
Or fix that please=)
thanks in advance
 
Level 17
Joined
Jun 28, 2008
Messages
776
Yes, to pick units of type will pick the unit with locust.

You could pick all units of the desired type, and then check the range between them and your hero. Then if the range is less then 80, kill the picked unit.

Or you could create an ability of the permanent immolation ans set its targets allowed to ancient and make the unit with the locust a unit with unit type ancient.
This will allow you to just damage that unit type.

Hope it helps
 
Status
Not open for further replies.
Top