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

Create a semicircle

Status
Not open for further replies.
Level 20
Joined
Apr 14, 2012
Messages
2,901
Er.

I want to create a semicircle of units that will always appear behind the caster. Apparently, doing ((facing of unit) - 180) just dies out when the caster faces 0 degrees. Doing (((real(integer A)) x (360/36))/2) just creates the semicircle towards the same angle every single time. I've tried different stuff with the (facing of unit) thing but nothing really works.

How is this done?

Thanks in advance.
 
Last edited:
Status
Not open for further replies.
Top