• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Rotating unit through data editor

Status
Not open for further replies.
Level 13
Joined
Apr 15, 2008
Messages
1,063
I am trying to rotate a structure around using just data editor (it has radar with limited arc, and I need it to sweep the area), anyone got an idea how to achieve that? I haven't found a way to modify unit rotation anyhow (I don't know abilities well, but in behaviors and effects there is nothing)

EDIT: Almost got the solution. I created a structure with no footprint, with a movement speed and added a custom move ability that has all orders, except turn, disabled. ( it has to have a movement speed, otherwise it can't move/turn at all ) Now I will just periodically order it to turn around.

EDIT2: Seems like a unit can't be rotated unless it's allowed to move. Disabling move command doesn't work at all. Is there any way to bypass that? (I had exactly the same problem in warcraft recently:grin:)

EDIT3: Finally fixed it, turned out I had to set the movement speed to something bigger than 0 AND disable movement via Behavior - modification - surpress movement. That way, unit can rotate, but not move. It can still receive right-click smart move, which doesn't work.
 
Last edited:
Status
Not open for further replies.
Back
Top