SetGhost - Actor

Member of: Actor Script

Flags this actor as a ghost or not.

SyntaxEdit

Function SetGhost(bool abIsGhost = true) native

ParametersEdit

  • abIsGhost: Whether to set or clear the actor's ghost status.
    • Default: True

Return ValueEdit

None.

ExamplesEdit

; Set Christmas Future to a ghost
ChristmasFuture.SetGhost()


; Clear Nate's ghost status
Nate.SetGhost(false)

NotesEdit

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

See AlsoEdit