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...
WildWitch
-
Posts
10 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Tutorials
Gallery
Store
Events
Posts posted by WildWitch
-
-
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
-
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.
-
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 -
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
-
Hello all Im trying to make a spell to summon foodHere is my script, it wont compile it says zzzRPC_SummonFoodScript.psc(31,0): mismatched input 'Event' expecting ENDEVENTAny help would be appreciatedthank youScriptname zzzRPC_SummonFoodScript extends activemagiceffectMessage Property SummonFoodmenuMESG AutoMessage Property DesertMESG AutoMessage Property MainMESG AutoMessage Property SideMESG AutoPotion Property Dessert0 AutoPotion Property Dessert1 AutoPotion Property Dessert2 AutoPotion Property Dessert3 AutoPotion Property Dessert4 AutoPotion Property Dessert5 AutoPotion Property Dessert6 AutoPotion Property Main0 AutoPotion Property Main1 AutoPotion Property Main2 AutoPotion Property Main3 AutoPotion Property Main4 AutoPotion Property Main5 AutoPotion Property Side0 AutoPotion Property Side1 AutoPotion Property Side2 AutoPotion Property Side3 AutoPotion Property Side4 AutoPotion Property Side5 AutoPotion Property Side6 AutoEVENT OnEffectStart(Actor akTarget, Actor akCaster)objectReference caster = akCasterEvent 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 DisablePlayerControlsMenu()EndEventFunction Menu(Bool abMenu = True, Int aiButton = 0)While abMenuIf aiButton != -1 ; Wait for input (this can prevent problems if recycling the aiButton argument in submenus)aiButton = SummonFoodmenuMESG.Show() ; Main MenuabMenu = False ; End the functionIf aiButton == 0 ; DessertaiButton = DesertMESG.Show()If aiButton == 0 ; Sweet Rollcaster.addItem(Dessert0)ElseIf aiButton == 1 ; Apple Piecaster.addItem(Dessert1)ElseIf aiButton == 2 ; Boiled Cream Treatcaster.addItem(Dessert2)ElseIf aiButton == 3 ; Honey Nut Treatcaster.addItem(Dessert3)ElseIf aiButton == 4 ; Snowberry Crostatacaster.addItem(Dessert4)ElseIf aiButton == 5 ; Juniper Berry Crostatacaster.addItem(Dessert5)ElseIf aiButton == 6 ; Jazbay Crostatacaster.addItem(Dessert6)ElseIf aiButton == 1 ; MainaiButton = MainMESG .Show()If aiButton == 0 ; Pheasent Roastcaster.addItem(Main0)ElseIf aiButton == 1 ; Salmon Steakcaster.addItem(Main1)ElseIf aiButton == 2 ; Cooked Beefcaster.addItem(Main2)ElseIf aiButton == 3 ; Grilled Chicken Breastcaster.addItem(Main3)ElseIf aiButton == 4 ; Steamed Mudcrab Legscaster.addItem(Main4)ElseIf aiButton == 5 ; Horker Loafcaster.addItem(Main5)EndIfElseIf aiButton == 2 ; sideaiButton = SideMESG .Show()If aiButton == 0 ; Goat Cheese Wedgecaster.addItem(Side0)ElseIf aiButton == 1 ; Garlic Breadcaster.addItem(Side1)ElseIf aiButton == 2 ; Vegetable Soupcaster.addItem(Side2)ElseIf aiButton == 3 ; Tomato Soupcaster.addItem(Side3)ElseIf aiButton == 4 ; Elsweyr Fonduecaster.addItem(Side4)ElseIf aiButton == 5 ; Braided Breadcaster.addItem(Side5)ElseIf aiButton == 6 ; Chicken Dumplingcaster.addItem(Side6)EndIfEndifEndifEndifEndWhileendFunction
-
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.
-
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.
-
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?.
-
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
Script Requests
in Skyrim Script Repository
Posted · Edited by WildWitch
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