SetGhost - Actor

From the Fallout4 CreationKit Wiki
Revision as of 15:27, 18 October 2011 by imported>Vitamant (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Actor Script

Flags this actor as a ghost or not.

Syntax

Function SetGhost(bool abIsGhost = true) native

Parameters

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

Return Value

None.

Examples

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


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

See Also