SetGhost

From the Oblivion ConstructionSet Wiki
Revision as of 09:32, 16 July 2006 by imported>ShadowDancer (typo)
Jump to navigation Jump to search

Syntax:

 SetGhost iGhostFlag ( 0 or 1 )

Sets the actor to/from the "ghost" state. When in a ghost state:

  • The actor will not enter combat
  • The actor cannot be harmed by a weapon or spell in any way
  • The actor will be hurt by water damage and some traps
  • The actor can inflict damage. So using player.SetGhost 1 will not prevent the player from killing their enemies.


See Also

GetIsGhost