SetPersistLoc - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 12:26, 3 December 2013 by imported>Iceburg333 (→‎See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Sets the persist location on an in-game created object.

Syntax[edit | edit source]

Function SetPersistLoc(Location akLoc)

Parameters[edit | edit source]

  • akLoc: Location to set as the persist location

Return Value[edit | edit source]

None

Examples[edit | edit source]

;Create an actor that persists when TestLoc is loaded
TestActorRef = TestLocCenterRef.PlaceAtMe( TestActorBase )
TestActorRef.SetPersistLoc( TestLoc )


See Also[edit | edit source]