Difference between revisions of "Making a Ping face the facing angle of a unit"

From HIVE
Jump to navigation Jump to search
(Created page with "Blizzard's ping-facing system is currently broken. In order to get a Ping attached to a unit and refreshed every 0 seconds to point to the facing angle of the unit it is attached...")
 
 
Line 4: Line 4:
  
 
[[Category:StarCraft II]]
 
[[Category:StarCraft II]]
[[Category:Tutorials]]
+
[[Category:Reference]]
 
[[Category:Triggers]]
 
[[Category:Triggers]]

Latest revision as of 05:37, 16 May 2011

Blizzard's ping-facing system is currently broken. In order to get a Ping attached to a unit and refreshed every 0 seconds to point to the facing angle of the unit it is attached to, you must use this formula:

Variable - Set Ping Angle = (((Facing of Unit_The_Ping_Is_Attached_To) * (2.0 / 90.0)) + 2.0)