Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

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


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

Galaxy Code

Void libNtve_gf_CreateLookAtTargetAtUnitAttachPoint ( Unit unit, Preset attachPoint )


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".