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

Rect Problem

Status
Not open for further replies.
Level 22
Joined
Jan 10, 2005
Messages
3,426
How do u create a rect in front of a unit with the angle of the units facing? I tried this:
Unit Group - Pick every unit in (Units in ((Rect(0.00, 0.00, 125.00, 800.00)) offset by ((X of (Casting unit)), (Y of (Casting unit))))

PS: The X and Y of unit are WEU functions
 
Status
Not open for further replies.
Top