tutorials
friends
links
home

Scripting a new summoning spell

The last bit of this tutorial is just for tying up loose ends.

Entering the scripts

Click on the Gameplay menu.
Choose Edit Scripts.

From the Script menu, select New.

Copy one of the scripts from the tutorial.
summon_AlitScript
alit_summonScript
summonTestNPCScript
Paste it into the Script Edit box by clicking once in the text box and pressing CTRL and V at the same time.
Select Save from the Script menu.

Repeat for each of the scripts.

Attaching the scripts to the creature and NPC

Click on the Creature tab in the Object Window.
Double click alit_summon.
Select alit_summonScript in the Script dropdown menu.
Click Save.

Click on the NPC tab in the Object Window.
Double click _summon_alit_test_npc.
Select summonTestNPCScript in the Script dropdown menu.
Click Save.

You're done-- save your mod!

Previous: Some scripting at last?

 

 

Hosted by www.Geocities.ws

1