Background for Fallout 4
Member of the Actor script
voidfunctionAttachAshPile(FormakAshPileBase=NONE)Native

Description

Wiki Description

Attaches an "ash pile" to the actor using the specified base object. Basically it's an object dropped at the actor's feet which cannot be picked up or moved by the player and, when activated, passes the activation onto the actor.

If this is called on an Essential actor, the function will log an error. Best practice is to check that the actor is not essential prior to calling this function.

Documentation Comment

Attaches an "ash pile" to this actor, placing it at this actor's location and using the specified
base object (or leveled item list) to represent the pile. If None is passed, it will use the
default ash pile object


Parameters

  1. FormakAshPileBase=NONE

    CK Wiki Description

    The base object or leveled item list to use for the ash pile. If None is passed, it will use the default ash pile base object.

    • Default:None

Examples

; Attach the default ash pile object to the spectre
if ( !Spectre.IsEssential() )
    Spectre.AttachAshPile()
; Attach a bucket ash pile object to the spectre
if ( !Spectre.IsEssential() )
    Spectre.AttachAshPile(BucketMiscObject)

Auto-Generated Example

Form myForm__akAshPileBase

myActor__toCallFunctionOn.AttachAshPile(myForm__akAshPileBase)

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.