Difference between revisions of "GetMagicEffectCode"
Jump to navigation
Jump to search
m
no edit summary
imported>JRoush (Notes on missing formIDs) |
imported>JRoush m |
||
|
Set mylongvar to (GetMagicEffectCode myrefvar)
* When used on Magic Effects without FormIDs the script will not compile correctly (although it does not produce any error messages). With Oblivion.esm loaded, the effects DISE, DUMY, and RSWD do not have formIDs. Without Oblivion.esm loaded, ''no magic effects'' have formIDs.
Set mylongvar to 1195657542 ;; literal effect code for FIDG - will always work
Set mylongvar to MagicEffectCodeFromChars "FIDG" ;; FIDG is a string instead of an editorID
[[Category:Functions]]
| |||