AurianaValoria1 Posted June 22, 2011 Author Share Posted June 22, 2011 (edited) Nevermind...I can do it with Wrye Bash. :blush: Thank you very much for your help. Have a kudo. :) Edited June 22, 2011 by AurianaValoria1 Link to comment Share on other sites More sharing options...
AurianaValoria1 Posted June 22, 2011 Author Share Posted June 22, 2011 Hmm...is there a way to modify the script some? I'd like to take into account if the player already has max magicka or if the player's items are already all charged up - with appropriate messages. And would it be possible to add the typical sound, too? Link to comment Share on other sites More sharing options...
fg109 Posted June 23, 2011 Share Posted June 23, 2011 scriptname WelkyndStoneScript Begin OnEquip if (Player.GetAV Magicka < Player.GetBaseAV Magicka) Player.ModAV2 Magicka 10000 Message "You have used a Welkynd Stone's power to restore your magicka, and now it is gone." PlaySound ITMWelkyndStoneUse RemoveMe else Message "Your magicka is already full." endif End scriptname VarlaStoneScript ref container ref item ref base short max short charge Begin OnEquip let container := PlayerRef ForEach (item <- container) let base := item.GetBaseObject let max := GetObjectCharge base if (item.GetCurrentCharge < max) item.SetCurrentCharge max let charge := 1 endif loop if (charge == 1) Message "You have used a Varla Stone's power to restore your enchanted items charge, and now it is gone." PlaySound ITMWelkyndStoneUse RemoveMe else Message "Your equipment is fully charged." endif End I don't know if that's the correct sound. If it's not, you'll have to look for it yourself. All the sounds in the game should be listed under Misc > Sound in the CS. Link to comment Share on other sites More sharing options...
AurianaValoria1 Posted June 23, 2011 Author Share Posted June 23, 2011 Awesome! I'll try it out ASAP. Thank you again! :biggrin: Link to comment Share on other sites More sharing options...
cfh85 Posted August 13, 2012 Share Posted August 13, 2012 scriptname WelkyndStoneScript Begin OnEquip if (Player.GetAV Magicka < Player.GetBaseAV Magicka) Player.ModAV2 Magicka 10000 Message "You have used a Welkynd Stone's power to restore your magicka, and now it is gone." PlaySound ITMWelkyndStoneUse RemoveMe else Message "Your magicka is already full." endif End scriptname VarlaStoneScript ref container ref item ref base short max short charge Begin OnEquip let container := PlayerRef ForEach (item <- container) let base := item.GetBaseObject let max := GetObjectCharge base if (item.GetCurrentCharge < max) item.SetCurrentCharge max let charge := 1 endif loop if (charge == 1) Message "You have used a Varla Stone's power to restore your enchanted items charge, and now it is gone." PlaySound ITMWelkyndStoneUse RemoveMe else Message "Your equipment is fully charged." endif End I don't know if that's the correct sound. If it's not, you'll have to look for it yourself. All the sounds in the game should be listed under Misc > Sound in the CS. Do you mind me using these scripts in a mod? Obviously credit will be given Link to comment Share on other sites More sharing options...
Recommended Posts