AttachAshPile - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

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.


Function AttachAshPile(Form akAshPileBase = None) native


  • akAshPileBase: 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

Return Value



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

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

See Also