unite position script help

Gev

Well-Known Member
Reaction score
25
iv got a project that i cant start. I cant get right gui script that will move unit A instantly to unit B+x of unit B facing angle.
 

O.A

Quantum physics rules
Reaction score
29
There is a GUI function called 'Point with Polar Offset', you can use that. Something like this;
Trigger:
  • Temp
    • Events
    • Conditions
    • Actions
    • Set P_Temp0 = (Position of Unit_A)
    • Set P_Temp1 = (Position of Unit_B)
    • Unit - Move Unit_A instantly to (P_Temp1 offset by X towards (Facing of Unit_B) degrees)
    • Custom script: call RemoveLocation (udg_P_Temp0)
    • Custom script: call RemoveLocation (udg_P_Temp1)
 

Gev

Well-Known Member
Reaction score
25
ill explain what i want. i need to create box using unites and whas able to rotate this box
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top