Difference between revisions of "IsNthEffectItemScripted"
Jump to navigation
Jump to search
imported>WereWolf (Added obse link) |
imported>DragoonWraith (EI) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | ||
'''Syntax''' | '''Syntax''' | ||
(isScriptEffect:bool) IsNthEffectItemScripted magicItem:ref whichEffect:short | (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. | |||
==See Also== | ==See Also== | ||
* [[GetNthEffectItemScript]] | *[[GetNthEffectItemScript]] | ||
* [[SetNthEffectItemScript]] | *[[SetNthEffectItemScript]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
Line 14: | Line 17: | ||
[[Category:Magic Functions]] | [[Category:Magic Functions]] | ||
[[Category:Magic Functions (OBSE)]] | [[Category:Magic Functions (OBSE)]] | ||
[[Category:Magic Functions - Effect Item (OBSE)]] |
Latest revision as of 19:42, 1 March 2008
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[edit | edit source]
- 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.