Difference between revisions of "Magic effect scripts"
imported>JOG (_Y_ou need to add a ":" or it will think the page belongs to the category. This is also how you make new categories.) |
imported>DragoonWraith (Changed See Also link to read "Magic Functions" instead of "Category:Magic Functions" (still links to the same page)) |
||
Line 21: | Line 21: | ||
==See Also== | ==See Also== | ||
*[[:Category:Magic Functions]] | *[[:Category:Magic Functions|Magic Functions]] | ||
[[Category: Scripting]] | [[Category: Scripting]] |
Revision as of 06:41, 20 June 2006
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. Also note that the scripted effects will only run while under Game Mode.
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.