Enchantments on Amulets/Items(Enable/Disable on Equip/UnEqui

Post » Wed Jan 05, 2011 12:16 pm

Hi,

I want to make my own ueber mod(for checking out some places ingame/simply having fun) in which i want to make some things configurable like which effects are applied to me via my helper Amulet/Ring, the Config Menu is already working nicely and configvariables are simply shorts atm(maybe later i will checkout how wyre leveling is doing it with their "wrdlvl.something" vars) but my problem is the adding/removing of the Magic Effect(to test i used fether atm)(i think i could archive configurablity later when i got it added/removed successfully) to the Item(Could be either a Amulet, a Ring or a Weapon based on a Config Key(so i can have my effects too when some quests demands me to wear something).

This is my current script which doesnt work:
Scriptname SJTestAmuletScriptshort indexbegin OnEquip player	set index to AddFullEffectItem "FTHR" 90000000 0  0 0 SJTestEnAmuletendbegin OnUnEquip player	RemoveNthEffectItem SJTestEnAmulet indexend


Some Things in that Code:
FTHR = Fether Spell
SJTestAmulet = My Amulet
SJTestEnAmulet = My Enchantment

With friendly Regards,
Stephan
User avatar
celebrity
 
Posts: 3522
Joined: Mon Jul 02, 2007 12:53 pm

Post » Wed Jan 05, 2011 3:26 pm

Hi,
I done it now on a other way via Abilitys.
I tossed away my ring/amulet and made it the way that i can totally control adding/deletion of the abilitys via my menu.

Sincerely,
Stephan
User avatar
Mariana
 
Posts: 3426
Joined: Mon Jun 12, 2006 9:39 pm


Return to IV - Oblivion

cron