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

Structure Rotation?

Status
Not open for further replies.
Level 2
Joined
Aug 12, 2007
Messages
3
In various maps such as DoBRP8, there is an in-game player-triggered unit rotation command. I need a similar feature for a specific aspect of my own map.
All of my triggering seems to be correct, but I encountered a problem while rotating buildings: They are given the Move, Stop, Hold Position, and Patrol abilities (I do not want this!). I modified the Object Info as followed:

Abilities - Normal = <Empty Value>
Art - Ground Texture = None
Movement - Turn Rate = 0.10
Pathing - Placement Requires - <Empty Value>
Stats - Unit Classification = Mechanical, Summoned

Triggering is as follows:

  • Events
  • [INDENT]Player - Player 1 (Red) types a chat message containing rotate as An exact match[/INDENT]
  • Conditions
  • Actions
  • [INDENT]If (All Conditions are True) then do (Then Actions) else do (Else Actions)
  • [INDENT]If - Conditions
  • [INDENT](Entered chat string) Equal to rotate[/INDENT]
  • Then - Actions
  • [INDENT]Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Actions)
  • [INDENT]If (All Conditions are True) then do (Then Actions) else do (Else Actions)
  • [INDENT]If - Conditions
  • [INDENT]Owner of (Picked unit) Equal to (Triggering player)[/INDENT]
  • Then - Actions
  • [INDENT]Unit - Make (Picked unit) face VAfootman[(Player number of (Triggering player))] over 0.50 seconds[/INDENT]
  • Else - Actions[/INDENT][/INDENT][/INDENT]
  • Else - Actions[/INDENT][/INDENT]
Please help me!
 
Level 3
Joined
Aug 11, 2007
Messages
42
u could always remove the old one and then create a new one with the right rotation
 
Status
Not open for further replies.
Top