Jump to content

How to give a potion a spell effect?


themohawkninja

Recommended Posts

Hello,

 

I'd like to make a potion that upon consumption, it will cause a fireball-like explosion (in fire damage, AoE, and visual effect) on the consumer (ideally, someone whom you reverse pickpocket the potion into) after a short delay.

 

Unforunately, I haven't seen much in the way of how to make custom potions, so I am looking here for help.

 

Thanks!

Link to comment
Share on other sites

make an explosion spell, lets call this akSpell.

 

Then make a potion magic effect with the following script:

 

SPELL PROPERTY akSpell AUTO
FLOAT PROPERTY akDelay AUTO

EVENT OnEffectStart(ACTOR akTarget, ACTOR akCaster)
    Utility.Wait(akDelay)
    akSpell.cast(akTarget)
ENDEVENT
Link to comment
Share on other sites

  On 7/28/2015 at 1:36 AM, GrimyBunyip said:

make an explosion spell, lets call this akSpell.

 

Then make a potion magic effect with the following script:

 

SPELL PROPERTY akSpell AUTO
FLOAT PROPERTY akDelay AUTO

EVENT OnEffectStart(ACTOR akTarget, ACTOR akCaster)
    Utility.Wait(akDelay)
    akSpell.cast(akTarget)
ENDEVENT

What do I need to open up to get to the script writer?

 

I suppose I should have mentioned this earlier. I've never modded Skyrim before, and I never got all that far in the tutorials since they were never going to cover the topics that I wanted to learn. I have a background in programming, so I'm competent in this sort of stuff... just totally ignorant of how to mod Skyrim specifically.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...