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

Jump to navigation Jump to search
Fixed links to cathegories
imported>JOG
(Moved to Category "Scripting Tutorials")
imported>JOG
(Fixed links to cathegories)
Line 7: Line 7:


==Create the Spell==
==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.
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.
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.
Line 108: Line 108:
Choose Script->Save from the menubar (or click on the disk button in the toolbar) and close the Script Edit window.
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 [[My_First_Script]] tutorial.</blockquote>
<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==
==Add Custom Effects==
Anonymous user

Navigation menu