Background for Fallout 4
Member of the ObjectReference script
ObjectReferencefunctionPlaceAtNode(stringasNodeName, FormakFormToPlace, intaiCount=1, boolabForcePersist=false, boolabInitiallyDisabled=false, boolabDeleteWhenAble=true, boolabAttach=false)Native

[DEV SERVER] Loading description...


Caveats


Parameters

stringasNodeName

CK Wiki Description

Node in our 3D to create references at

FormakFormToPlace

CK Wiki Description

The base form to create references of.

  • Note:the akFormToPlace can be things such as MiscObject, ActorBase, etc...

intaiCount=1

CK Wiki Description

How many references to make at once.

  • Caution: Only the last reference created is returned.

boolabForcePersist=false

CK Wiki Description

True to force the created reference to be persistent.

boolabInitiallyDisabled=false

CK Wiki Description

True to force the reference to be initially disabled

  • Default False

boolabDeleteWhenAble=true

CK Wiki Description

True to force the reference to be deleted as soon as it is no longer persisted by a property or quest and is no longer in the loaded area.

  • Default True

boolabAttach=false

CK Wiki Description

True to cause the newly created reference to be attached to the calling one as if its Attach Ref had been set in the editor

  • Default False

Examples

; Place a bird in a tree at a critter marker
ObjectReference newbird = TreeRef.PlaceAtNode("CritterPerch00", BirdBase)

Auto-Generated Example

string myString__asNodeName
Form myForm__akFormToPlace
int myInt__aiCount
bool myBool__abForcePersist
bool myBool__abInitiallyDisabled
bool myBool__abDeleteWhenAble
bool myBool__abAttach

ObjectReference returnedValue = myObjectReference__toCallFunctionOn.PlaceAtNode(myString__asNodeName, myForm__akFormToPlace, myInt__aiCount, myBool__abForcePersist, myBool__abInitiallyDisabled, myBool__abDeleteWhenAble, myBool__abAttach)

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.