Difference between revisions of "IsNthEffectItemScripted"
Jump to navigation
Jump to search
imported>WereWolf |
imported>Haama (Not really isScripted, but isScriptedEffect) |
||
Line 4: | Line 4: | ||
(isScriptEffect:bool) IsNthEffectItemScripted magicItem:ref whichEffect:short | (isScriptEffect:bool) IsNthEffectItemScripted magicItem:ref whichEffect:short | ||
Returns whether the specified effect item is scripted. | Returns whether the specified effect item is a scripted effect. | ||
==Notes== | |||
*This will return true if the effect is a scripted effect, even if no script has been attached to the effect. Use '''if GetNthEffectItemScript''' to determine if there is a script on the effect. | |||
==See Also== | ==See Also== |
Revision as of 14:04, 3 October 2007
A command for Oblivion Script Extender
Syntax
(isScriptEffect:bool) IsNthEffectItemScripted magicItem:ref whichEffect:short
Returns whether the specified effect item is a scripted effect.
Notes
- This will return true if the effect is a scripted effect, even if no script has been attached to the effect. Use if GetNthEffectItemScript to determine if there is a script on the effect.