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

[Solved] Making a unit that can turn, but can't move.

Status
Not open for further replies.
1) Create a new ability based off Entangling Roots
2) Set duration to 0 for units and heroes, make sure it doesn't show any unneeded graphics, or make the unit take damage, etc
3) Cast it on the unit by an enemy

The unit will be able to turn, but not move. You can make the unit move again, by removing the buff that the entangling roots ability gives it, but if you want to make the unit unmovable again, you have to recast it, obviously.
 
Level 30
Joined
Aug 29, 2012
Messages
1,382
Setting its movement speed to 1 will prevent it from moving while still being able to rotate.

I think that has something to do with the model itself.

Yep, canon tower model has a special bone named "Bone_Turret" which is somehow used by the game to make it rotate while the rest of the model is static.
 
Status
Not open for further replies.
Top