Jump to content

OBSE: Enchantment disappears


Recommended Posts

Hello,

 

I use setenchantment in one of my mods and after a few quit/reload the enchantment that was on my weapon disappears. any idea how to fix that? I also have another problem the charge of the weapon enchantment is blocked. example: the charge is 1/1. I hit a creature and after the charge is still 1/1.

 

here is my script:

 

scn abukaienchspellscript

 

ref weapon

ref clone

ref script

ref caster

short kk

 

begin scripteffectstart

 

if player.getitemcount aaatorturedsoul > 9 && aaaokariscythecasterref.kk > 9

 

set caster to getself

set weapon to caster.GetEquippedObject 16

 

if weapon == 0 || player.GetEquipped aaasoulextractor3t == 1

message "Soul injection has failed", 3

else

 

player.removeitem aaatorturedsoul 10

set kk to aaaokariscythecasterref.kk - 10

set aaaokariscythecasterref.kk to kk

 

set clone to CloneForm weapon

player.removeitem weapon 1

player.additem clone 1

SetObjectCharge 1 clone

SetEnchantment aaauuudaggerench clone

SetWeaponReach 100000000 clone

player.equipitem clone

 

endif

 

else

message "I don't have enough torured souls", 3

endif

 

end

Link to comment
Share on other sites

I just found the answer. OBSE is crap.

 

Edit : okay obse is one of the best tools ever made, but it still needs improvements. I'm just worry that nobody reported the instability with the setenchantment function before. And even more worried that nobody seems to care. :confused:

Link to comment
Share on other sites

Are you sure the the problem wasn't caused by you instead of OBSE. If so, you shouldn't make insulting comments about a utility without justification. I have used it extensively and not had a problem with it.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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