• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] Detect Locust

Status
Not open for further replies.
Level 10
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 10
Joined
Jun 1, 2008
Messages
485
I mean, to detect the summoning of unit summoned by Locust Swarm.
You know, the skill that create many bug that can't selected and will automatically attack nearby enemy unit.
I already know to detect unit with Locust ability.
 
Level 10
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