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

[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 20
Joined
Aug 29, 2012
Messages
844
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