TheSKPwningest1992 Posted August 17, 2013 Share Posted August 17, 2013 Hi all, As I'm still learning how to script I don't suppose someone would be able to help me with a script that will add a plethora of items and spells into the players inventory, and then remove the spell. I've looked around the net and I can't find anything that's clear cut. Any help is appreciated! Link to comment Share on other sites More sharing options...
Lanceor Posted August 17, 2013 Share Posted August 17, 2013 Create a magic effect script like the following: Scriptname MySpellScript BEGIN SCRIPTEFFECT START Player.AddItem MyFirstItem 1 ;Replace the "1" with however many items you want to add. Player.AddItem MySecondItem 1 Player.AddItem MyThirdItem 1 Player.AddSpell MyFirstSpell Player.AddSpell MySecondSpell Player.AddSpell MyThirdSpell Player.RemoveSpell MySpell END Save the script and then you can move onto part two. For the spell itslef, make sure it is casted on self and has a duration of at least 1 second. For the spell effect, choose Scripted Effect, and attach the above script. Voila! :smile: Link to comment Share on other sites More sharing options...
TheSKPwningest1992 Posted August 17, 2013 Author Share Posted August 17, 2013 Thank you. I semi figured it out, but this has definately clarified it for me. Link to comment Share on other sites More sharing options...
Recommended Posts