Jump to content

Help with mod script


Revolverocelot11

Recommended Posts

As part of the mod I am creating I wanted to create a ring that would cause spell damage when doing Hand to Hand damage, simular to an enchanted weapon. I was going to use an activator to cast the spell at the target that gets hit, but I was having difficulty finding a way to script it. More specifically, I was having difficulty finding a way to cause a physical punch to trigger the activator. If I could find a way to trigger the activator I can probably finish the rest. If anyone knows how to do it I would greatly appriciate it.
Link to comment
Share on other sites

well, as far as i know, it's only half possible

looking Here, i could find only two proper command, the OnHit, or OnHitWith

now, since you are talking about HTH, there are no weapons, so the second isn't going to help you

so the only way i know, is to use the OnHit

of course, if you want the effect to only work on HTH attacks, i'm sure it could be done with an extra checks

what i would use is This command, since there are no weapons using HTH animations

so i would say:

Begin OnHit

and then:

If Player.GetWeaponAnimType = 0

then do the spell

 

hope this helps you :)

good luck

Link to comment
Share on other sites

  • Recently Browsing   0 members

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