• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

rotating units

Status
Not open for further replies.
Level 5
Joined
Apr 27, 2014
Messages
87
hi, i was wondering if i can rotate a unit? cuz if i want to make a cinematic, one guy looks at a tree, and the other one looks at the blacksmith, so, is there any way to rotate them? cuz rotating ALL of them with triggers is hard work
 
hi, i was wondering if i can rotate a unit? cuz if i want to make a cinematic, one guy looks at a tree, and the other one looks at the blacksmith, so, is there any way to rotate them? cuz rotating ALL of them with triggers is hard work

There are the unit values in the object editor but other than that you have to manually rotate them via triggers.

It's hard work but in the end that hard work pays off in a better looking cinematic.
 
If it is a pre-placed unit you go to the man view (where you see the map and place units and stuff) then double click the unit, a box named "Unit Properties" will appear, then you will see a property saying "Facing(deg)". With that you can adjust each unit accordingly.

Otherwise, if the unit is created during runtime or it moves or does anything which involves changing rotation, you have to do it with triggers.
 
You can also select all units that you want to rotate, then hold "ctrl" and left-click somewhere on the map.
All units that you have selected will now look at that point.
(You can also hold the left mouse button and move your mouse over the map.)

That is the easiest option.

If you want to change their facing in-game, you can use the trigger "Unit - Make <unit> Face ..."
 
You can also select all units that you want to rotate, then hold "ctrl" and left-click somewhere on the map.
All units that you have selected will now look at that point.
(You can also hold the left mouse button and move your mouse over the map.)

That is the easiest option.

If you want to change their facing in-game, you can use the trigger "Unit - Make <unit> Face ..."
thnx dude
 
Status
Not open for further replies.
Back
Top