face instantly

takethat

Active Member
Reaction score
12
theres a action trigger in gui that make a unit face a direction instantly and another one that move the unit and change its facing altogether.

but this change facing is said to be change instantly is not. theres a second delay if the turning is more then 180 degree and it always turn from left to right.

so i asking is there anyway to make a unit "really" turn instantly?
 

cleeezzz

The Undead Ranger.
Reaction score
268
no, only way is to remove the unit, create a new unit facing the new angle

depending what you need to do, theres a method where you attach the model of a unit to a dummy unit and use UnitSetLookAt (or something like that). Of course, this has its drawbacks.
 

takethat

Active Member
Reaction score
12
actually i have a sliding system which move a unit every 0.05sec, and a unit will change course on certain situation (the unit is not controllable). in this case i was using make unit face direction to change course, but change halfway due to the 0.05sec event, it din change accordingly.

so even jass cant make a unit face "instantly"?
 

Crave.

New Member
Reaction score
0
Thread not closed yet rite?

Since making the unit face instantly is impossible, make it turn quicker. Go to unit editor and change then turn speed of the unit of choice :D
 
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