# Create Look At Target At Unit Attach Point

Grammar — Create look at target at the attachPoint attach point of unit unit
FlagsAction

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

# Arguments

  • unit — Unit
  • string<preset::AttachPoints> — Attach Point

Returns — void

void libNtve_gf_CreateLookAtTargetAtUnitAttachPoint(
	unit lp_unit,
	string lp_attachPoint,
);

Category: Actor / Look At

# Examples

— None found —