Background for Starfield
Member of the ObjectReference script
SpaceshipReferencefunctionPlaceShipNearMe(FormakFormToPlace, intpositionVal=0, intdistanceVal=0, intfacingVal=0, intaiLevelMod=4, boolabPlayFx=true, boolabForcePersist=false, boolabInitiallyDisabled=false, boolabDeleteWhenAble=true, AliasakAliasToFill=NONE)

Description

Documentation Comment

scornett
Convenience function that places a ship near a ref, calculating an offset position based on MoveNear's positionVal, distanceVal, and facingVal values.


Caveats


Parameters

FormakFormToPlace

intpositionVal=0

intdistanceVal=0

intfacingVal=0

intaiLevelMod=4

boolabPlayFx=true

boolabForcePersist=false

boolabInitiallyDisabled=false

boolabDeleteWhenAble=true

AliasakAliasToFill=NONE


Examples

Auto-Generated Example

Form myForm__akFormToPlace
int myInt__positionVal
int myInt__distanceVal
int myInt__facingVal
int myInt__aiLevelMod
bool myBool__abPlayFx
bool myBool__abForcePersist
bool myBool__abInitiallyDisabled
bool myBool__abDeleteWhenAble
Alias myAlias__akAliasToFill

SpaceshipReference returnedValue = myObjectReference__toCallFunctionOn.PlaceShipNearMe(myForm__akFormToPlace, myInt__positionVal, myInt__distanceVal, myInt__facingVal, myInt__aiLevelMod, myBool__abPlayFx, myBool__abForcePersist, myBool__abInitiallyDisabled, myBool__abDeleteWhenAble, myAlias__akAliasToFill)
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.