# Create Look At Target At Unit Attach Point
Grammar — Create look at target at the attachPoint attach point of unit unit
Flags —Action
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
— Unitstring
<preset::AttachPoints> — Attach Point
Returns — void
void libNtve_gf_CreateLookAtTargetAtUnitAttachPoint(
unit lp_unit,
string lp_attachPoint,
);
# Related
Category: Actor / Look At
- Look At Target From Point With Z Offset —
actor
— libNtve_gf_LookAtTargetFromPointWithZOffset - Look At Target From Unit Attach Point —
actor
— libNtve_gf_LookAtTargetFromUnitAttachPoint - Create Look At Target At Point —
void
— libNtve_gf_CreateLookAtTargetAtPoint - Create Look At Target At Unit Attach Point —
void
— libNtve_gf_CreateLookAtTargetAtUnitAttachPoint - Make Actor Look At Actor (Custom) —
void
— ActorLookAtStart - Make Actor Stop Looking (Custom) —
void
— ActorLookAtStop - Make Actor Look At Actor —
void
— ActorLookAtTypeStart - Make Actor Stop Looking —
void
— ActorLookAtTypeStop - Make Unit Look At Actor —
void
— libNtve_gf_SimpleLookAtStart - Make Unit Look At Point —
void
— libNtve_gf_MakeUnitLookAtPoint - Make Unit Look At Unit —
void
— libNtve_gf_MakeUnitLookAtUnit - Make Unit Stop Looking —
void
— libNtve_gf_SimpleLookAtStop
# Examples
— None found —