Magic effect scripts

From the Oblivion ConstructionSet Wiki
Revision as of 17:57, 31 January 2006 by imported>Ecaponi
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Magic Effect scripts are special scripts that can be used to create Scripted Magic Effects. They are created using the normal script editing window, but must be marked as Magic Effect scripts in order to be used in this way.

These scripts do not use normal begin/end blocks, since they only run while the spell effect is active on a target. They use three special block types and one special function.


Magic Effect block types:

Other block types are invalid (they will compile but the code inside them will never run).


Magic Effect functions:

In all other ways, Magic Effect scripts act like reference scripts, and can use all normal script functions inside the Magic Effect blocks.