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

Post » Fri Dec 02, 2011 5:43 am

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
Miss Hayley
 
Posts: 3414
Joined: Tue Jun 27, 2006 2:31 am

Post » Thu Dec 01, 2011 4:10 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
Laura Richards
 
Posts: 3468
Joined: Mon Aug 28, 2006 4:42 am


Return to IV - Oblivion