MoveToPackageLocation - Actor

From the CreationKit Wiki
Revision as of 14:54, 11 November 2011 by imported>Scornett (Reverted edits by Scornett-Bot (talk) to last revision by Rhavlovick)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Actor Script

Determines where an actor should be placed, based on the running procedure(s) of the actor's current package, and places them there.

Syntax[edit | edit source]

Function MoveToPackageLocation() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Enable JonPaul and move him immediately to the location for his current package.
; Note that the Enable has to come first.
JonPaul.Enable()
JonPaul.MoveToPackageLocation()

Notes[edit | edit source]

This is mainly intended for use immediately after Enable, in cases where we want an actor to appear at its package location, rather than its editor location.

See Also[edit | edit source]