SetPersistLoc - ObjectReference

From the Fallout4 CreationKit Wiki
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]