Description
Wiki Description
Sets or clears the target of the direct-at behavior modifier. This reference must have a behavior animation on it with a direct-at modifier to do anything.
Documentation Comment
Sets the direct-at target for this reference (or clears it if None is passed)
Note that the object must have an animation graph with a direct-at modifier on it for this to do anything
Parameters
ObjectReferenceakTarget
CK Wiki Description
The ObjectReference to set as the target. If this is None, it will clear the target.
Examples
; Set spotlight to follow the can
SpotlightProperty.SetDirectAtTarget(CanProperty)Auto-Generated Example
ObjectReference myObjectReference__akTarget
myObjectReference__toCallFunctionOn.SetDirectAtTarget(myObjectReference__akTarget)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
