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

Turning and moving

Status
Not open for further replies.
Level 6
Joined
Mar 2, 2006
Messages
306
if i understood correctly that you want a unit not to be able to move, but still to be able to turn towards combat, here is a solution i used once:
1) make a buff based on whatever
icon = your unit icon or whatever
art --> remove all effect models
tooltip = whatever
2) make an ability based on ensnare:
mana cost = 0; casting range = 50;
duration = 0 //means forever (if that is what you want)
buff = our buff from above;
targets = ground
3) do this whenever a unit is created and revived (or becomes static)
Unit - Add SelfEnsnare ability to OurUnit
Unit - Order OurUnit to Orc Raider - Ensnare OurUnit
Unit - Remove SelfEnsnare ability from OurUnit
4) that's it; if the unit can become mobile again, there is a trigger action called: Unit - Remove specific buff...

hope that helps
 
Level 9
Joined
Jul 27, 2006
Messages
652
Hmmm the best way i know to disable movement but enable turning is to set movespeed to 1. That way the unit moves soooo slowly but it can still turn. Then use pask's idea. The problem is that the unit can still blink ect.
Hope this helps, its simpler than ensnare too.
 
Status
Not open for further replies.
Top