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

Am I Stupid?

Status
Not open for further replies.
Level 1
Joined
Apr 8, 2012
Messages
5
Is there a statement equivelant to the wc3 "pick every unit in range"?

I know there is a "find unit" statement but I cannot seem to get the "unit type" to work. Am I missing something?
 
Level 22
Joined
Feb 4, 2005
Messages
3,971
Lots of the triggers are renamed for no logical reason other than to sound 'new' and 'different'.

  • Melee Initialization
    • Events
      • Game - Map initialization
    • Local Variables
    • Conditions
    • Actions
    • Unit Group - Pick each unit in (Marine units in (Region((Position of (Triggering unit)), 10.0)) owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Region matching condition, Any go to Value to select the type in this case Marine, Entire map can be 'Convert Circle to region' then position of unit or specific coordinates as a Center and Range from its center - in this case 10. Rectangle too but it would be more values if you had to do that.
 
Status
Not open for further replies.
Top