Friday, 2024-05-03, 10:21 AM
Main Sign Up RSS
Welcome, Guest
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum moderator: SeaAngel  
Forum » Warcraft III » Request a Resource » Ingame Rotations
Ingame Rotations
SeaAngelDate: Wednesday, 2011-12-07, 2:25 PM | Message # 1
3D Modeling
Group: Administrators
Messages: 972
Awards: 1
Reputation: 42
Status: Offline
Hi is there way for a building to be rotated by the player in-game for cosmetic purposes only? Like as the building ability? I want to create placeable barricades.


Answer:
Make an ability, give it to the unit

Make a trigger:

Event:
Unit Starts Casting an Ability

Conditions:
Ability equal to X

Actions:
Unit - Make Casting Unit Face (Facing of Casting Unit + 90) over 0.00 seconds

This makes the unit rotate by 90 degrees. If you want to change how much the unit rotates, you can change this. Also, if you want the rotation to make a small, but very significant and great difference in gameplay, change the Pathing Texture of the barricades to Hay Cart (same as Short Fence). This will make them act sort of like a short fence, where they act like more of a rectangle than a square.
 
Forum » Warcraft III » Request a Resource » Ingame Rotations
  • Page 1 of 1
  • 1
Search: