Difference between revisions of "SetDestroyed"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Maturin
 
imported>ShadowDancer
(adding note)
Line 5: Line 5:


SetDestroyed takes an int parameter. A 1 parameter marks the ref as destroyed, a 0 parameter clears the destroyed flag on the ref. This can be used on any door or activator to indicate that it is non-functional. Destroyed doors/activators will no longer give rollover text and cannot be activated. Leveled lists will no longer generate new creatures.
SetDestroyed takes an int parameter. A 1 parameter marks the ref as destroyed, a 0 parameter clears the destroyed flag on the ref. This can be used on any door or activator to indicate that it is non-functional. Destroyed doors/activators will no longer give rollover text and cannot be activated. Leveled lists will no longer generate new creatures.
 
'''Notes:'''
*When called on an actor, prevents the actor from being activated for conversation, looting, or pick pocketing.


[[Category: Functions]]
[[Category: Functions]]
[[Category: Miscellaneous Functions]]
[[Category: Miscellaneous Functions]]

Revision as of 10:53, 25 July 2006

Syntax:

SetDestroyed flag 
SetDestroyed 1 


SetDestroyed takes an int parameter. A 1 parameter marks the ref as destroyed, a 0 parameter clears the destroyed flag on the ref. This can be used on any door or activator to indicate that it is non-functional. Destroyed doors/activators will no longer give rollover text and cannot be activated. Leveled lists will no longer generate new creatures.

Notes:

  • When called on an actor, prevents the actor from being activated for conversation, looting, or pick pocketing.