Deleted28154640User Posted February 3, 2016 Share Posted February 3, 2016 Hiya all I've just had an idea to add spell tomes to the player from the levelled list (very much like in my mod) but I was wondering if its possible to only add spells the player doesn't know while still keeping the mod open to other spell mods. Scriptname ZZZ_Spawnspelltomescript extends activemagiceffect LeveledItem Property SpelltomeRef Auto Int Property GreaterThanInt Auto Event OnInit() Int i = Game.GetPlayer().GetAV("conjuration") As Int If i > GreaterThanIntGame.GetPlayer().Additem(SpelltomeRef, 1) Debug.MessageBox("You research a new spell") Else Debug.MessageBox("Your research has yielded no results") EndIfEndEventthis is my base script I'm working with Any help is greatly appreciated :) Link to comment Share on other sites More sharing options...
Recommended Posts