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.


Parameters

  1. FormakFormToPlace

  2. intpositionVal=0

  3. intdistanceVal=0

  4. intfacingVal=0

  5. intaiLevelMod=4

  6. boolabPlayFx=true

  7. boolabForcePersist=false

  8. boolabInitiallyDisabled=false

  9. boolabDeleteWhenAble=true

  10. 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.