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

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