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

Status
Not open for further replies.
Level 9
Joined
Jun 1, 2008
Messages
485
Well, I'm working for a spell and get a question.
Locust Swarm (Ulti of Crypt Lord) is summon a unit, yes? How can I detect the summoning of that unit?
Is a trigger like this will work?
  • Detect Locust
    • Events
      • Unit - A unit Spawns a summoned unit
    • Conditions
      • (Unit-type of (Summoned unit)) Equal to Locust
    • Actions
      • -------- Do Action --------
thank you
~Mage_Goo
 
Level 9
Joined
Jun 1, 2008
Messages
485
Don't be tricked just because the Locust enumerator is in JASS. Basically, GUI can enumerate the locust.
When i see PurplePoot locust enumerator, i see it can be done in GUI too.
Both "Unit owned by Player" and "Unit of Type" can enumerate Locust unit.
Like this one:
  • Actions
    • Set Group = (Units owned by <Player>)
    • Set Group = (Units of type <Player>)
You can use some simple trigger to make sure picked unit match you like, like only pick unit in 500 range, or kind like that.

EDIT: Now I'm test the Detect Locust with Summon unit event.
EDIT2:No, It doesn't work. any other ideas?
 
Status
Not open for further replies.
Top