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

making Unit face angle instantly

Status
Not open for further replies.
Level 14
Joined
Aug 30, 2004
Messages
909
I want to make a unit instantly face an angle.

This trigger seems to slowly rotate them:

  • Custom script: call SetUnitFacing(GetTriggerUnit(), 180.00)
I tried the regular UI actions as well, and they all slowly move it even when I set the speed to 0.
 
This is the most common method--a modified model along with moving the bone towards a direction:
http://www.wc3c.net/showthread.php?t=105830

It works particularly well for missiles. If you need it for arbitrary models, then I don't believe there is a solution without some weird hackery or replacing the unit. You can try looking into impale or cyclone if it is just for a visual effect, but I haven't looked into it.
 
Status
Not open for further replies.
Top