Difference between revisions of "Scripting Tutorial: My First Spell"

Fixed links to cathegories
imported>JOG
(Moved to Category "Scripting Tutorials")
imported>JOG
(Fixed links to cathegories)
 
==Create the Spell==
Alright! So, after the arduous loading process, we can start making our spell. Go ahead and locate the [[Object_Window]]. We're interested in the [[:Category:Magic]] category, so expand that option in the list. There are a few items under Magic, but we're creating a spell, so click on the Spell list item.
 
There should be a whole bunch of spells loaded in the list now. Right-click somewhere in this list (it doesn't matter where) and choose "New" from the context menu that pops up. This brings up a blank [[Spell]] dialog.
Choose Script->Save from the menubar (or click on the disk button in the toolbar) and close the Script Edit window.
 
<blockquote>You can read more about scripting on the [[:Category:Scripting]] page. Also check out the [[Scripting_Tutorials:_My_First_Script[My_First_Script]] tutorial.</blockquote>
 
==Add Custom Effects==
Anonymous user