Difference between revisions of "SetDestroyed"
Jump to navigation
Jump to search
imported>ShadowDancer (adding note) |
imported>Shadowndacorner |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 4: | Line 4: | ||
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/ items. | ||
'''Notes:''' | '''Notes:''' | ||
*When called on an actor, prevents the actor from being activated for conversation, looting, or pick pocketing. | *When called on an actor, prevents the actor from being activated for conversation, looting, or pick pocketing. | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category:Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | |||
[[Category: Miscellaneous Functions]] | [[Category: Miscellaneous Functions]] | ||
[[Category: Miscellaneous Functions (CS 1.0)]] | |||
==See Also== | |||
[[GetDestroyed]] | |||
<!-- Begin Search Terms | |||
Set | |||
Destroyed | |||
End Search Terms --> |
Latest revision as of 17:26, 9 April 2010
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/ items.
Notes:
- When called on an actor, prevents the actor from being activated for conversation, looting, or pick pocketing.
See Also[edit | edit source]