SetDestroyed

Revision as of 14:36, 11 November 2011 by imported>Scornett-Bot (Script running global find and replace: Category:Console Commands for Category: Console Functions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SetDestroyed flags the calling object as 'Destroyed'. Objects that have been Destroyed no longer present mouseover text and cannot be activated.

Note that they still exist, and continue to render and process events normally - they are not Disabled or Deleted, and their visual Destruction State, if any, is unaffected.

SyntaxEdit

SetDestroyed 1 ;Sets the Destroyed Flag. Object is destroyed.
SetDestroyed 0 ;Clears the Destroyed Flag. Object is no longer destroyed and resumes normal operation.

Papyrus VersionEdit

ObjectReference.SetDestroyed (Papyrus)