Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

WildWitch

Allies
  • Posts

    10
  • Joined

  • Last visited

WildWitch's Achievements

Novice

Novice (2/11)

0

Reputation

  1. I ran into another snag I also need a script that does the following... Player casts a spell player clicks on spriggen corpse and gets the option to sacrifice or leave be If player clicks sacrifice Spriggen corpse disappears Player receives 5 permanent magicka points added to pool (like modav Magicka 5 command in game) Taproot is added to the player If player clicks on non spriggen corpse nothing happens and failure message shows. Also Another script that does the following Player casts spell If player has spider egg creates eggsack at target crosshair 30 seconds after its creation eggsack spawns frostbite spider (permenent doesnt follow player though) if spider dies eggsack spawns another If player upon casting spell has no spider egg failure message shows and nothing happens and finaly player clicks on the eggsack menu is shown - destory/imbune with fire/imbune with frost/imbune with shock If player click destroy eggsack is removed If Player clicks immbune with fire script checks to see if the player has fire salts, removes firesalt and applies permenent firecloak spell to next spawned spider If Player clicks immbune with frost script checks to see if the player has frost salts, removes frostsalt and applies permenent frostcloak spell to next spawned spider If Player clicks immbune with thunder script checks to see if the player has void salts, removes voidsalt and applies permenent shockcloak spell to next spawned spider Thanks again
  2. Hiya I'm trying to make a group of witch spells and I thought that a spell to apply the effect of a poison magically to the witches enemy would be perfect. I would like a script that does the following The player casts a spell while target is selected in crosshair A menu pops up allowing the player to choose a poison (must be poison) from their inventory be it player made or standard The full poison effect is applied to target Thank you
  3. Ah well then maybe I should just leave it to the professionals, Like I said I cannibalized another script I wrote that used a plate of food and a food spawn marker. Thank you for your help, its a pity I cant get it to work but maybe Ill put my ideas into an ideas thread.
  4. Scriptname zzzRPC_SummonFoodScript extends activemagiceffect Message Property SummonFoodmenuMESG Auto Message Property DesertMESG Auto Message Property MainMESG Auto Message Property SideMESG Auto Potion Property Dessert0 Auto Potion Property Dessert1 Auto Potion Property Dessert2 Auto Potion Property Dessert3 Auto Potion Property Dessert4 Auto Potion Property Dessert5 Auto Potion Property Dessert6 Auto Potion Property Main0 Auto Potion Property Main1 Auto Potion Property Main2 Auto Potion Property Main3 Auto Potion Property Main4 Auto Potion Property Main5 Auto Potion Property Side0 Auto Potion Property Side1 Auto Potion Property Side2 Auto Potion Property Side3 Auto Potion Property Side4 Auto Potion Property Side5 Auto Potion Property Side6 Auto EVENT OnEffectStart(Actor akTarget, Actor akCaster) objectReference caster = akCaster endevent Function Menu(Bool abMenu = True, Int aiButton = 0) While abMenu If aiButton != -1 ; Wait for input (this can prevent problems if recycling the aiButton argument in submenus) aiButton = SummonFoodmenuMESG.Show() ; Main Menu abMenu = False ; End the function If aiButton == 0 ; Dessert aiButton = DesertMESG.Show() If aiButton == 0 ; Sweet Roll caster.addItem(Dessert0) ElseIf aiButton == 1 ; Apple Pie caster.addItem(Dessert1) ElseIf aiButton == 2 ; Boiled Cream Treat caster.addItem(Dessert2) ElseIf aiButton == 3 ; Honey Nut Treat caster.addItem(Dessert3) ElseIf aiButton == 4 ; Snowberry Crostata caster.addItem(Dessert4) ElseIf aiButton == 5 ; Juniper Berry Crostata caster.addItem(Dessert5) ElseIf aiButton == 6 ; Jazbay Crostata caster.addItem(Dessert6) ElseIf aiButton == 1 ; Main aiButton = MainMESG .Show() If aiButton == 0 ; Pheasent Roast caster.addItem(Main0) ElseIf aiButton == 1 ; Salmon Steak caster.addItem(Main1) ElseIf aiButton == 2 ; Cooked Beef caster.addItem(Main2) ElseIf aiButton == 3 ; Grilled Chicken Breast caster.addItem(Main3) ElseIf aiButton == 4 ; Steamed Mudcrab Legs caster.addItem(Main4) ElseIf aiButton == 5 ; Horker Loaf caster.addItem(Main5) EndIf ElseIf aiButton == 2 ; side aiButton = SideMESG .Show() If aiButton == 0 ; Goat Cheese Wedge caster.addItem(Side0) ElseIf aiButton == 1 ; Garlic Bread caster.addItem(Side1) ElseIf aiButton == 2 ; Vegetable Soup caster.addItem(Side2) ElseIf aiButton == 3 ; Tomato Soup caster.addItem(Side3) ElseIf aiButton == 4 ; Elsweyr Fondue caster.addItem(Side4) ElseIf aiButton == 5 ; Braided Bread caster.addItem(Side5) ElseIf aiButton == 6 ; Chicken Dumpling caster.addItem(Side6) EndIf Endif Endif Endif EndWhile endFunction endevent Ok now it says zzzRPC_SummonFoodScript.psc(90,0): missing EOF at 'endevent' Unfortunately the <> button is not working for me
  5. Kay thank you for your help, the script was once summoned from a plate of food activator but I decided to cannibalize it to make a summon food spell, does this mean I can get rid of the entire Event on read?. Also Im not sure what you mean by putting it in code format as Im a complete beginner to scripting, the script is a direct copy from papyrus in the creation kit thank you again for your help
  6. Hello all Im trying to make a spell to summon food Here is my script, it wont compile it says zzzRPC_SummonFoodScript.psc(31,0): mismatched input 'Event' expecting ENDEVENT Any help would be appreciated thank you Scriptname zzzRPC_SummonFoodScript extends activemagiceffect Message Property SummonFoodmenuMESG Auto Message Property DesertMESG Auto Message Property MainMESG Auto Message Property SideMESG Auto Potion Property Dessert0 Auto Potion Property Dessert1 Auto Potion Property Dessert2 Auto Potion Property Dessert3 Auto Potion Property Dessert4 Auto Potion Property Dessert5 Auto Potion Property Dessert6 Auto Potion Property Main0 Auto Potion Property Main1 Auto Potion Property Main2 Auto Potion Property Main3 Auto Potion Property Main4 Auto Potion Property Main5 Auto Potion Property Side0 Auto Potion Property Side1 Auto Potion Property Side2 Auto Potion Property Side3 Auto Potion Property Side4 Auto Potion Property Side5 Auto Potion Property Side6 Auto EVENT OnEffectStart(Actor akTarget, Actor akCaster) objectReference caster = akCaster Event OnRead() Game.DisablePlayerControls(False, False, False, False, False, True) ; Ensure MessageBox is not on top of other menus & prevent book from opening normally. Game.EnablePlayerControls(False, False, False, False, False, True) ; Undo DisablePlayerControls Menu() EndEvent Function Menu(Bool abMenu = True, Int aiButton = 0) While abMenu If aiButton != -1 ; Wait for input (this can prevent problems if recycling the aiButton argument in submenus) aiButton = SummonFoodmenuMESG.Show() ; Main Menu abMenu = False ; End the function If aiButton == 0 ; Dessert aiButton = DesertMESG.Show() If aiButton == 0 ; Sweet Roll caster.addItem(Dessert0) ElseIf aiButton == 1 ; Apple Pie caster.addItem(Dessert1) ElseIf aiButton == 2 ; Boiled Cream Treat caster.addItem(Dessert2) ElseIf aiButton == 3 ; Honey Nut Treat caster.addItem(Dessert3) ElseIf aiButton == 4 ; Snowberry Crostata caster.addItem(Dessert4) ElseIf aiButton == 5 ; Juniper Berry Crostata caster.addItem(Dessert5) ElseIf aiButton == 6 ; Jazbay Crostata caster.addItem(Dessert6) ElseIf aiButton == 1 ; Main aiButton = MainMESG .Show() If aiButton == 0 ; Pheasent Roast caster.addItem(Main0) ElseIf aiButton == 1 ; Salmon Steak caster.addItem(Main1) ElseIf aiButton == 2 ; Cooked Beef caster.addItem(Main2) ElseIf aiButton == 3 ; Grilled Chicken Breast caster.addItem(Main3) ElseIf aiButton == 4 ; Steamed Mudcrab Legs caster.addItem(Main4) ElseIf aiButton == 5 ; Horker Loaf caster.addItem(Main5) EndIf ElseIf aiButton == 2 ; side aiButton = SideMESG .Show() If aiButton == 0 ; Goat Cheese Wedge caster.addItem(Side0) ElseIf aiButton == 1 ; Garlic Bread caster.addItem(Side1) ElseIf aiButton == 2 ; Vegetable Soup caster.addItem(Side2) ElseIf aiButton == 3 ; Tomato Soup caster.addItem(Side3) ElseIf aiButton == 4 ; Elsweyr Fondue caster.addItem(Side4) ElseIf aiButton == 5 ; Braided Bread caster.addItem(Side5) ElseIf aiButton == 6 ; Chicken Dumpling caster.addItem(Side6) EndIf Endif Endif Endif EndWhile endFunction
  7. Thanks for your help everyone, unfortunately Ive been unable to get online the last couple of weeks and will be going offline again for financial reasons, I truly appreciate the help, and hope one day to return.
  8. Well I added it as a standalone script and added it to the spell, but it doesn't work, do I need to add properties to the spell script window?, if so do I add all the things with int before them?. thanks Im using regular old notepad, I think It was because I wasn't compiling the script before trying to save it in the ck.
  9. Thank you for your help triplesixes but unfortunately the creation kit crashed again, is there maybe some way I can make the script and then import it into the ck?.
  10. Hiya Im trying to write a script for a concentration cast spell that fills soul gems (based of wow warlock soul harvest ability), this is my script but it keeps crashing the skyrim creation kit when I save the script, what am I doing wrong any help will be much appreciated. ScriptName SOULREAPER EVENT OnEffectStart if akcaster.GetItemCount(SoulGemPetty) >= 1 akcaster.AddItem(SoulGemPettyFilled, 1, false) akcaster.RemoveItem(SoulGemPetty, 1, true) Debug.Trace("You have reaped a soul") ElseIf akcaster.GetItemCount(SoulGemLesser) >= 1 akcaster.AddItem.AddItem(SoulGemLesserFilled, 1, false) akcaster.RemoveItem(SoulGemLesser, 1, true) Debug.Trace("You have reaped a soul") ElseIf akcaster.GetItemCount(SoulGemCommon) >= 1 akcaster.AddItem (SoulGemCommonFilled, 1, false) akcaster.RemoveItem(SoulGemCommon, 1, true) Debug.Trace("You have reaped a soul") ElseIf akcaster.GetItemCount(SoulGemGreater) >= 1 akcaster.AddItem(SoulGemGreaterFilled, 1, false) akcaster.RemoveItem(SoulGemGreater, 1, true) Debug.Trace("You have reaped a soul") ElseIf akcaster.GetItemCount(SoulGemGrand) >= 1 akcaster.AddItem(SoulGemGrandFilled, 1, false) akcaster.RemoveItem(SoulGemGrand, 1, true) Debug.Trace("You have reaped a soul") else Debug.Trace("You cannot reap any more souls") Endif endEVENT
×
×
  • Create New...