Shoneah0Tokala Posted January 18, 2013 Share Posted January 18, 2013 (edited) Ok guys, I made a snow elf race (Race power = Ice Form)The Ice form Power Relies on a bound armor and spell script to work, I've altered it so that until ateration reaches 30 it is simply a frost cloak spell after, level 30 you get the ice form armo and the two spells that go with it.Heres how it looks now: Scriptname IceFormScript extends activemagiceffect Armor Property ClothesCollegeRobesApprenticeVariant1 auto Armor Property ClothesCollegeBootsApprenticeVariant1 auto Armor Property BoundEbonyBoots auto Armor Property BoundEbonyCuirass auto Armor Property BoundEbonyGauntlets auto Armor Property BoundEbonyHelmet auto Weapon Property ElvenDagger auto SPELL Property IceformSpikeLeftHandSpell auto SPELL Property IceFormWallOfFrostSpell auto SPELL Property FrostbiteLeftHandSpell auto Event OnEffectStart (Actor ckTarget, Actor ckCaster) Utility.Wait(0.2) if((Game.GetPlayer().GetActorValue("Ateration") >= 30)) Game.GetPlayer().EquipItem(BoundEbonyGauntlets, 1, true) Game.GetPlayer().EquipItem(BoundEbonyHelmet, 1, true) Game.GetPlayer().EquipSpell(IceFormSpikeLeftHandSpell, 1) Game.GetPlayer().EquipSpell(IceFormWallOfFrostSpell, 1) Game.GetPlayer().EquipItem(BoundEbonyBoots, 1, true) Game.GetPlayer().EquipItem(BoundEbonyCuirass, 1, true) Else Game.GetPlayer().AddSpell(FrostbiteLeftHandSpell, 1) endif EndEvent Event OnEffectFinish(Actor ckTarget, Actor ckCaster) if (Game.GetPlayer().GetEquippedWeapon() == ElvenDagger) Game.GetPlayer().EquipItem(ElvenDagger, false, true) Game.GetPlayer().EquipSpell(FrostbiteLeftHandSpell, 1) Game.GetPlayer().RemoveItem(boundEbonyBoots, 1, true) Game.GetPlayer().RemoveItem(boundEbonyCuirass, 1, true) Game.GetPlayer().RemoveItem(boundEbonyGauntlets, 1, true) Game.GetPlayer().RemoveItem(boundEbonyHelmet, 1, true) Game.GetPlayer().RemoveSpell(IceFormSpikeLeftHandSpell) Game.GetPlayer().RemoveSpell(IceFormWallOfFrostSpell) Game.GetPlayer().EquipItem(ClothesCollegeRobesApprenticeVariant1, false, true) Game.GetPlayer().EquipItem(ClothesCollegeBootsApprenticeVariant1, false, true) else Game.GetPlayer().EquipItem(ElvenDagger, false, true) Game.GetPlayer().EquipSpell(FrostbiteLeftHandSpell, 1) Game.GetPlayer().RemoveItem(boundEbonyBoots, 1, true) Game.GetPlayer().RemoveItem(boundEbonyCuirass, 1, true) Game.GetPlayer().RemoveItem(boundEbonyGauntlets, 1, true) Game.GetPlayer().RemoveItem(boundEbonyHelmet, 1, true) Game.GetPlayer().RemoveSpell(IceFormSpikeLeftHandSpell) Game.GetPlayer().RemoveSpell(IceFormWallOfFrostSpell) Game.GetPlayer().EquipItem(ClothesCollegeRobesApprenticeVariant1, false, true) Game.GetPlayer().EquipItem(ClothesCollegeBootsApprenticeVariant1, false, true) endif EndEvent Now what I want to do is make this code work and add an extra couple of lines to tell the game that at level 40 alteration player gets "Ice Form Spike Left Hand Spell" and Ateration = 50 player gets "Ice Form Wall Of Frost spell". So how can I restruture the script to to allow this, or should I put the two spells into a seperate script? Any assistance on this would be very helpful because I'm still very new to papyrus.Thank you Edited January 18, 2013 by Shoneah0Tokala Link to comment Share on other sites More sharing options...
ragnaroklucifer Posted February 12, 2014 Share Posted February 12, 2014 Use a leveled list Link to comment Share on other sites More sharing options...
myztikrice Posted February 12, 2014 Share Posted February 12, 2014 (edited) Add an elseif to the first part, I don't know why you would do anything to leveled lists. You can look at Serana's script that levels her up and does the same thing, and then it checks her level every 1 game day. Edited February 12, 2014 by myztikrice Link to comment Share on other sites More sharing options...
Recommended Posts