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

Buildings rotate?

Status
Not open for further replies.
Level 7
Joined
Dec 26, 2006
Messages
303
I saw in many games that building can able to rotate by my building only can see 270 degrees, how can it happen??

Sorry for bad english:sad:
 
Level 32
Joined
Oct 23, 2006
Messages
5,291
Rotating Buildings

To rotate buildings placed on the map in WE one must use the Object Editor to edit the building itself.
  1. Open Object Editor and select the building type you wish to rotate.
  2. Select the field Stats - Is A Building change this field value to: False
  3. Select the building in the main WE screen and rotate it using the "/" and "*" keys on your keyboard's number pad.
  4. Reset the field value Stats - Is A Building to: True.

This method will allow rotation of buildings placed in WE. To rotate building constructed during the game, a trigger would be needed (IF it's even possible.)

Note: you must rotate all buildings of the same type at the same time. Changing the field value for "Stats - Is A Building" may cause previously rotated buildings to regain their default rotation.
 
Root

When a building has a form of the "Root" ability its facing angle can be changed. Just add a version of the "Root" ability to every building you want to be able to rotate and disable the ability it on map initialization.

If you can't get it to work, I'll create you a template map.

PS: Changing the "Is a Building" function causes massive lag, at least for me, and if I don't want a unit to be a building I don't base it off of one.
 
Status
Not open for further replies.
Top