LegoManIAm94 Posted December 26, 2009 Share Posted December 26, 2009 Here is a tutorial on how to add spells or items to the player by using a script First Items Go and make a new Gobal variable and make sure it is a short and is at 0 Then make a new script and type the following Begin Scriptname if (Gobalvar==0) Player->Additem “ItemID” Amount Player->Additem “ItemID” Amount Set GobalVar To 1Endif Stopscript Scriptname End Then add the script to the start scripts Now Spells Then make a new script and type the following Begin Scriptname Player->Addspell "SpellID"Player->Addspell "SpellID"Stopscript Scriptname End Then add the script to the start scripts Then test your mod out and see if it adds the spell/item. If you are doing items save then load the file again and see if the item gets added to you again. If it doesn't add the item again then it works. Link to comment Share on other sites More sharing options...
LegoManIAm94 Posted December 27, 2009 Author Share Posted December 27, 2009 for adding items I forgot to add short Gobalvar between begin and if (gobalvar==0) Link to comment Share on other sites More sharing options...
Recommended Posts