Background for Fallout 4
Member of the ObjectReference script
voidfunctionSetPersistLoc(LocationakLoc)Native

Description

Wiki Description

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

Documentation Comment

Sets the persist location on an in-game created reference


Caveats


Parameters

LocationakLoc

CK Wiki Description

Location to set as the persist location


Examples

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

Auto-Generated Example

Location myLocation__akLoc

myObjectReference__toCallFunctionOn.SetPersistLoc(myLocation__akLoc)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.