SetGhost

From GECK
Jump to: navigation, search

Link to TES4 Construction Set Wiki: SetGhost.

A function included in the GECK for Fallout 3.

Description

Sets the actor reference to/from the "ghost" state. The changes are save-persistent.

Syntax

[help]
[Actor].SetGhost ghostState:0/1

Example

BuddyREF.SetGhost 1

BuddyREF is now in "ghost" state.

BuddyREF.SetGhost 0

BuddyREF is no longer in "ghost" state (default state).

Notes

  • Cannot be harmed by a weapon or spell/magic effect in any way. Projectiles pass through them,
  • The stated chance to hit them in VATS is unchanged, despite them being impossible to hit (bug),
  • Can inflict damage. So using player.SetGhost 1 will not prevent the player from killing their enemies,
  • Is still able to talk and can be activated to talk,
  • Still collides normally with other actors and world objects,
  • Cannot be pickpocketed, despite the prompt still showing up. Instead, regular activation (dialog) occurs.
  • Enemies of this calling ref will not go into combat or detect an actor with this flag.

See Also