Difference between revisions of "SetGhost"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>ShadowDancer
(typo)
imported>ShadowDancer
(more info)
Line 7: Line 7:
* The actor ''will'' be hurt by water damage and some traps
* 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.
* The actor ''can'' inflict damage. So using ''player.SetGhost 1'' will ''not'' prevent the player from killing their enemies.
 
* The actor is still able to talk and can be activated to talk.
* The actor can not be pick pocketed.


==See Also==
==See Also==

Revision as of 10:50, 25 July 2006

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.
  • The actor is still able to talk and can be activated to talk.
  • The actor can not be pick pocketed.

See Also

GetIsGhost