SetDirectAtTarget - ObjectReference
Member of: ObjectReference Script
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.
SyntaxEdit
Function SetDirectAtTarget(ObjectReference akTarget) native
ParametersEdit
- akTarget: The ObjectReference to set as the target. If this is None, it will clear the target.
Return ValueEdit
None.
ExamplesEdit
; Set spotlight to follow the can
SpotlightProperty.SetDirectAtTarget(CanProperty)