HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

[Help] With making buildings face an angle

07-20-2008, 08:05 AM#1
Lord Windy
I know this must be a very noobish question. I am making a map with premade buildings and i want them to face a certain angle, lets say 360. But i have absolutely no idea how to do it. I have found after grueling searching that the / and * make your units face a different direction, but for some reason the same does not wish to work for my buildings.

What i would really like to know is, can I make my buildings face a different direction on the terrain editor. If so, what do i have to do. If i cannot do it on the terrain editor, than how do i do it using the trigger/object editor. I would prefer a Gui solution, but if it is long and drawn out and the JASS solution would be easier, than i would prefer that one. (Im not overly fond of JASS, I can do it, but i find it harder than the Gui for what i want my map to become)

Thank-you in advance, and i really did try to work this out by myself.
07-20-2008, 07:54 PM#2
Evernite.
I haven't tried it personally, but this method should work. The reason why you can't turn buildings around is that they have a default orientation that cannot be changed (if there are other methods, let me know, but I haven't found any so far).

Trigger:
Collapse Events
Unite - A unit Finishes A Construction
Collapse Conditions
(Unit-type of (Constructed structure)) Equals to X
Collapse Actions
Unit - Remove classification of Building from (Event Response - Constructed structure)
Unit - Make (Event Response - Constructed structure) face 360.00 over 0.00 seconds
Unit - Add classification of Building to (Event Response - Constructed structure)

As the building finishes being constructed, it will have its building classification removed and will therefore be able to change orientations. Then you give it its classification again so that it can assure its functions.
07-20-2008, 08:42 PM#3
Shadow_killer
Base the building on a unit instead?
07-21-2008, 09:15 AM#4
Rao Dao Zao
Uncheck "is building" in the object editor.

Rotate as necessary.

Check "is building" in the object editor.

Never touch the building again.
07-22-2008, 10:25 PM#5
Nuclear Arbitor
um, theres a buildingfacing value in the object editor. all of the same buildings face the same way but it's there.
07-22-2008, 11:52 PM#6
PenguinEmperor
Rao's way is easier.