GetMagicEffectCode
Revision as of 18:04, 21 March 2008 by imported>DragoonWraith (not a record variable function)
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).