Triggers/Actions/Create Look At Target At Unit Attach Point

From SC2Mapster Wiki
Jump to: navigation, search

Actor-Look At

Create Look At Target At Unit Attach Point

GUI

Actor - Create look at target at the Attach Point attach point of unit Unit

Galaxy Code

Void libNtve_gf_CreateLookAtTargetAtUnitAttachPoint ( Unit unit, Preset attachPoint )

Description

Creates an invisible look at target actor and attaches it to the specified attach point of the specified unit. If you set an actor variable to "Last Created Actor" immediately after this action, it will set the variable to the look at target that is created by this action. You can then use that variable in an action such as "Actor Look At Start".

Parameters