- Found in:
- Vanilla
Description
Wiki Description
Makes X new references of the passed in form, optionally forcing them to persist, and places them at the position of the given node in our object's 3D, returning the last one it created. If abAttach is true, the newly created ref is also attached to the calling one.
Documentation Comment
Create x copies of the passed in form (forcing them to persist if desired) and place them at the location of the given node, returning the last object created
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
