• 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] How do you select triangle area?

Status
Not open for further replies.
Level 13
Joined
Jun 5, 2008
Messages
504
I wana select all units infront of the caster, that are in triangle area. How do you do that?

I made picture to explain it.
 

Attachments

  • eeee.JPG
    eeee.JPG
    16.6 KB · Views: 156
Level 40
Joined
Dec 14, 2005
Messages
10,532
No. The end would be an arc rather than a flat line.

In that case, all you do is:

  • Pick every unit within (Radius) of the caster
  • Filter out only units who are within a certain angle of the angle between the caster and the ability's target point (or in the case of instant-cast abilities, the facing of the caster)
 
Level 13
Joined
Jun 5, 2008
Messages
504
No. The end would be an arc rather than a flat line.

In that case, all you do is:

  • Pick every unit within (Radius) of the caster
  • Filter out only units who are within a certain angle of the angle between the caster and the ability's target point (or in the case of instant-cast abilities, the facing of the caster)

mmm...i see now... thank you.
 
Status
Not open for further replies.
Top