SetDirectAtTarget - ObjectReference

Revision as of 17: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 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)

See AlsoEdit