Rotate a Unit with jass

Grymlax

Probably not around
Reaction score
138
Once again Gui isn't enough and i need some help from someone familiar with jass.

My problem is that i need to move a unit without breaking his order or animation. I know that to do this i need to Set the units x and then set its y but is there also a way to rotate him so that he doesn't face the same angle all the time?
 

Grymlax

Probably not around
Reaction score
138
the unit rotates very slowly so i think i will have to find another way. thanks for the effort.

I need to spread around my rep before i can add you some.
 

Grymlax

Probably not around
Reaction score
138
Ah I see, should have thought of that.

well anyhow I solved it another way wich looks awesome i think. thanks anyway.
 

Grymlax

Probably not around
Reaction score
138
well it was more of a work around which only works for some few occations. so it will probably not work for your spells.

here is what i did. i changed the opacity for my unit to 100% then i created a dummy unit with locust and with the same model file as the triggering unit and simply moved him ontop of the first unit. Then each time i needed to rotate him i removed the dummy and replaced him with another dummy with another facing point. doing so it looked like if he spinned instantly even though he didn't rotate at all.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top