Difference between revisions of "IsScripted"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
imported>Underground
m (I did not know that this command was not supposed to work on spells until Scruggs told me; I just thought that the clarification might help others.)
 
Line 4: Line 4:
(isScripted:bool) ''reference.''IsScripted ''targetObjectID:ref''
(isScripted:bool) ''reference.''IsScripted ''targetObjectID:ref''


Returns whether the scriptable object has a script attached to it or not.
Returns whether the scriptable object has a script attached to it or not. Note that this is not intended for use on spells, for which you should use [[IsNthEffectItemScripted]] instead.


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

Latest revision as of 11:22, 14 August 2010

A command for Oblivion Script Extender

Syntax:

(isScripted:bool) reference.IsScripted targetObjectID:ref

Returns whether the scriptable object has a script attached to it or not. Note that this is not intended for use on spells, for which you should use IsNthEffectItemScripted instead.

See Also[edit | edit source]