Difference between revisions of "Scripting Tutorial: My First Spell"
Scripting Tutorial: My First Spell (edit)
Revision as of 15:05, 8 January 2008
, 15:05, 8 January 2008→Create Spell Script: fixed script editor link
imported>Yushatak m |
imported>Qazaaq m (→Create Spell Script: fixed script editor link) |
||
Line 38: | Line 38: | ||
Now that we've added a standard magical effect to our spell, let's add a custom one. In order to add a custom effect, we need to write a script. Select Gameplay->Edit Scripts... from the menubar. | Now that we've added a standard magical effect to our spell, let's add a custom one. In order to add a custom effect, we need to write a script. Select Gameplay->Edit Scripts... from the menubar. | ||
We're now at a blank [[ | We're now at a blank [[Edit Scripts]] window. Select Script->New from the menubar in this window. The textarea will now be enabled. | ||
Choose "Magic Effect" in the Script Type drop down. This is important! If we don't do this, we can't add it to a spell. | Choose "Magic Effect" in the Script Type drop down. This is important! If we don't do this, we can't add it to a spell. |