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

[DEV SERVER] Loading description...


Caveats

CK Wiki - Notes

If you want to place a leveled actor, you probably want ObjectReference.PlaceActorAtMe(...).


Parameters

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

Examples

; Place a new box at the target marker
ObjectReference newBox = TargetMarker.PlaceAtMe(BoxBase)
; Place a two new boxes at the target marker
ObjectReference oneOfTheBoxes = TargetMarker.PlaceAtMe(BoxBase, 2)

Auto-Generated Example

Form myForm__akFormToPlace
int myInt__aiCount
bool myBool__abForcePersist
bool myBool__abInitiallyDisabled
bool myBool__abDeleteWhenAble

ObjectReference returnedValue = myObjectReference__toCallFunctionOn.PlaceAtMe(myForm__akFormToPlace, myInt__aiCount, myBool__abForcePersist, myBool__abInitiallyDisabled, myBool__abDeleteWhenAble)

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.