Difference between revisions of "GetMagicEffectCode"
Jump to navigation
Jump to search
imported>WereWolf (New page: A command for Oblivion Script Extender '''Syntax:''' (magicEffectCode:long) GetMagicEffectCode effect:chars (magicEffectCode:long) GetMECode effe...) |
imported>Haama (Notes on 0000000 FormID bug) |
||
Line 7: | Line 7: | ||
Returns the magic effect code of the effect. | 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). | |||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 18:30, 2 November 2007
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).