Background for Skyrim SE
Member of the DbMiscFunctions script
ObjectReferencefunctionPlaceAndMoveToLocalOffset(ObjectReferencePlaceAtMeRef, FormakFormToPlace, intaiCount=1, boolabForcePersist=false, boolabInitiallyDisabled=false, floatAngle=0.0, floatDistance=100.0, floatafZOffset=0.0, boolabMatchRotation=true)Global

Description

Documentation Comment

PlaceAtMe but moves placed ref using MoveToLocalOffset function. PlaceAtMeRef is centerRef, new placed ref is RefToMove.


Caveats


Parameters

ObjectReferencePlaceAtMeRef

FormakFormToPlace

intaiCount=1

boolabForcePersist=false

boolabInitiallyDisabled=false

floatAngle=0.0

floatDistance=100.0

floatafZOffset=0.0

boolabMatchRotation=true


Examples

Auto-Generated Example

ObjectReference myObjectReference__PlaceAtMeRef
Form myForm__akFormToPlace
int myInt__aiCount
bool myBool__abForcePersist
bool myBool__abInitiallyDisabled
float myFloat__Angle
float myFloat__Distance
float myFloat__afZOffset
bool myBool__abMatchRotation

ObjectReference returnedValue = DbMiscFunctions.PlaceAndMoveToLocalOffset(myObjectReference__PlaceAtMeRef, myForm__akFormToPlace, myInt__aiCount, myBool__abForcePersist, myBool__abInitiallyDisabled, myFloat__Angle, myFloat__Distance, myFloat__afZOffset, myBool__abMatchRotation)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.