• 🏆 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!

Locust

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
Well, all of you (semi-triggerer and above must know this) know that we can't pick Locust unit (a unit that has Locust / Aloc ability) through trigger by using this action:
  • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
    • Loop - Actions
If the unit has Locust ability, this trigger won't be able to pick the unit and will be left out

BUT...

Why does the Locust unit can be picked if it is in a Unit Group ?
Like this:
  • Unit Group - Pick every unit in UnitGroup and do (Actions)
    • Loop - Actions
If we do some actions on them (moving them, killing them, bla bla on them), it will surely work

My question is, WHY ?

Even if the unit is in a Unit Group, why can it be picked since it is naturally can't be picked by using the same action of Unit Group

Is there an exception or something ?
 
Level 10
Joined
Jul 12, 2009
Messages
318
Because Blizzard made it that way. :wink:

Think of it like this: Locust units can't be affected by anything in game, so they are ignored if you try to find them by area or range...but if you already referred to one specifically, and put it in a group, it's not going to keep you from doing that.
 
because Wc3 can only selects with the condition (Units in (Playable map area)).
Also as a good example you can use this triggers tooltip as one
  • Unit - Hide unit
with it as read 'Use the 'unhide Unit' action to show a unit. Hiddenn units do not show up in 'Units in region' queries.' This means that it cannot be selected with this condition as this trigger relates to the lucust ability in this matter.
Also have you this trigger?
  • Destructible - Pick every destructible in (Playable map area) and do (Actions)
    • Loop - Actions
this selects also selects objects but these are destructables and can also be selected ingame unlike units with the locust ability and also if you've noticed that you cannot remove this ability with triggers nor can you disable it!
 
Status
Not open for further replies.
Top