SetPersistLoc - ObjectReference

Member of: ObjectReference Script

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

SyntaxEdit

Function SetPersistLoc(Location akLoc)

ParametersEdit

  • akLoc: Location to set as the persist location

Return ValueEdit

None

ExamplesEdit

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


See AlsoEdit