Mod:Creation Kit/SetPersistLoc - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

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

Syntax
Function SetPersistLoc(Location akLoc)

Parameters

 * akLoc: Location to set as the persist location

Return Value
None

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