Wintergrofe Posted September 18, 2010 Share Posted September 18, 2010 Hi. I just started Oblivion modding. I'm trying to create a weapon that, once you get 10 kills, it will apply a once-charge enchantment to your weapon and then remove it (using OBSE). I already have the counter system, but I need to figure out how to get the weapon the enchantment is applied to, as well as the wearer of the weapon. How would I do this? I'm just a little confused about referances and all that. Thanks. Link to comment Share on other sites More sharing options...
Hickory Posted September 18, 2010 Share Posted September 18, 2010 Create two weapons, one enchated and one not. When the conditions are met, removeitem and additem. Link to comment Share on other sites More sharing options...
Wintergrofe Posted September 18, 2010 Author Share Posted September 18, 2010 How do I get the actor/player who will receive the weapon from within a Magic Effect script for an enchantment? I thought MySelf returns the actor being attacked by the enchantment. Link to comment Share on other sites More sharing options...
Hickory Posted September 18, 2010 Share Posted September 18, 2010 Well, I don't know because I don't know your mod, it's scripts or effects. You will probably need something like:OnMagicEffectHit target:ref magicEffectCode:string Take a look here. Link to comment Share on other sites More sharing options...
Wintergrofe Posted September 18, 2010 Author Share Posted September 18, 2010 Hm, okay. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts