Unit Rotation

Kildare

New Member
Reaction score
7
Does anyone know how to change a unit's rotation via triggers? This was possible in WCIII but i can't find it anywhere here in SC2.

And no, i'm not talking about unit's facing angle.
 

Kildare

New Member
Reaction score
7
Ok well here's the problem. What i want to do is make the unit face the current camera facing of the player(meaning it rotates along with camera facing). How exactly do you set that with actor message? Is there a way to read real variables into actor message?

EDIT: Nvm i just found out how...i think.
 
Reaction score
54
Sure, why not?
You can convert a string to an actor message, so you could build your own string out of concatenations ( "SetRotation " + Variable + ", " + Variable + ", " + Variable + " " + Variable + ", " + Variable + ", " + Variable) and feed it to the Send Actor Message action.
 

Kildare

New Member
Reaction score
7
Yea i just found that out lol. However, it seems that it won't work if my unit's movement is not done via triggers, since it'll override the rotation settings. =/
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top