How do i make unit face unit...

RedRage

New Member
Reaction score
7
Ok so... I got this trigger... and it creates a dummy unit facing unit which ability is effecting... and unit faces exact opposite of where i want it to face... LIKE WTF? THIS ALWAYS HAPPENS!!! I'll post wat i have so far. In case u haven't figured this out by now, i want unit to face unit which ability is affecting

Code:
Untitled Trigger 001
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Suck Blood 
    Actions
        Set SuckBloodCaster = (Triggering unit)
        Set SuckBloodCasterPoint = (Position of SuckBloodCaster)
        Set SuckBloodVictim = (Target unit of ability being cast)
        Set SuckBloodVictimPoint = (Position of (Target unit of ability being cast))
        Unit - Pause SuckBloodCaster
        Unit - Hide SuckBloodCaster
        Unit - Create 1 Dreadlord for (Owner of SuckBloodCaster) at SuckBloodCasterPoint facing (Facing of SuckBloodVictim) degrees
        Set SuckBloodDummy = (Last created unit)
        For each (Integer A) from 1 to 10, do (Actions)
            Loop - Actions
                Animation - Play SuckBloodDummy's spell animation
                Wait 1.00 seconds
Thxs in advance :D
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
892
Try making it face the Facing of <Unit> + 180.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top