GetMagicEffectCode
Revision as of 18:30, 2 November 2007 by imported>Haama (Notes on 0000000 FormID bug)
A command for Oblivion Script Extender
Syntax:
(magicEffectCode:long) GetMagicEffectCode effect:chars
(magicEffectCode:long) GetMECode effect:chars
Returns the magic effect code of the effect.
Notes
- When used on Magic Effects without FormIDs (for Vanilla Oblivion, those effects are DISE, DUMY, and RSWD; FormID = 00000000) the script will never run in-game. You can give these Magic Effects FormIDs by modifying them (but there may be issues when other mods modify them as well).