Background for Fallout 4
Member of the Actor script
voidfunctionSetGhost(boolabIsGhost=true)Native

Description

Wiki Description

Flags this actor as a ghost or not.

Documentation Comment

Flags/unflags this actor as a ghost


Caveats

CK Wiki - Notes

Ghosted actors do not register OnHit events and are unaffected by Weapon, Spell, Explosion, Ingredient, Potion, or Enchantment.


Parameters

boolabIsGhost=true

CK Wiki Description

Whether to set or clear the actor's ghost status.

  • Default:True

Examples

; Set Christmas Future to a ghost
ChristmasFuture.SetGhost()
; Clear Nate's ghost status
Nate.SetGhost(false)

Auto-Generated Example

bool myBool__abIsGhost

myActor__toCallFunctionOn.SetGhost(myBool__abIsGhost)

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.