SetDirectAtTarget - ObjectReference
Revision as of 16:36, 4 October 2013 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' ObjectReference Script Sets or clears the target of the direct-at behavior modifier. This reference must have a ...")
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.
Syntax[edit | edit source]
Function SetDirectAtTarget(ObjectReference akTarget) native
Parameters[edit | edit source]
- akTarget: The ObjectReference to set as the target. If this is None, it will clear the target.
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Set spotlight to follow the can
SpotlightProperty.SetDirectAtTarget(CanProperty)