• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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