BlueToxic Posted October 11, 2009 Share Posted October 11, 2009 I usually wear equipment with detect life enchantments, but I don't like it when the detect life effects are on while I'm in town and talking to people. Instead of unequipping all equipment with detect life enchantments when I'm not adventuring I'd like to have mod that lets me toggle the detect life effect with a button. I haven't found any mod with this function and I can't make one myself since I'm not very good at scripting. Can something like this be done? Link to comment Share on other sites More sharing options...
Pronam Posted October 11, 2009 Share Posted October 11, 2009 Instead of unequipping all equipment with detect life enchantments when I'm not adventuring I'd like to have mod that lets me toggle the detect life effect with a button. Why don't you use a hotkey to unequip it? I know what you mean, but using the key would be far more easy and simple for yourself.It is just hitting the 1- 0 key! Link to comment Share on other sites More sharing options...
BlueToxic Posted October 13, 2009 Author Share Posted October 13, 2009 That works fine when you only have one item, but it gets annoying when you have several items with that enchant. And it looks silly to run around in town without half your equipment. Link to comment Share on other sites More sharing options...
Pronam Posted October 13, 2009 Share Posted October 13, 2009 Especially when you use body mods...Owk, any grudges against the use of OBSE? Link to comment Share on other sites More sharing options...
BlueToxic Posted October 14, 2009 Author Share Posted October 14, 2009 None at all. Link to comment Share on other sites More sharing options...
BlueToxic Posted October 29, 2009 Author Share Posted October 29, 2009 Are you still working on this? If not, maybe someone else can do this? Link to comment Share on other sites More sharing options...
Slawter500 Posted October 29, 2009 Share Posted October 29, 2009 You could use an disenchant mod to take the detect life off of your other items and use the hotkey solution pronam mentioned. Link to comment Share on other sites More sharing options...
Pronam Posted October 29, 2009 Share Posted October 29, 2009 Are you still working on this? I tried but didn't succeed. My specialty isn't OBSE-Spells. :)..I still don't quite understand the properties of the functions and its difficult to work with at it accepts a lot even though its not working they way you think it will.I got a far as the ability to change the effects (to 0) applied by enchantments without changing it on the armor itself. The problem is targeting the armor directly and knowing where the enchantments can from as shown in the list. It's very important as you can't say change this and that. Numbers are mostly used that get me quite confused ;D.I can't trow it on bethesda unless I do know everything about those functions, as I'm either walking the wrong way or it isn't possible at all. Link to comment Share on other sites More sharing options...
grmblf Posted October 30, 2009 Share Posted October 30, 2009 Yes, it's possible. I just know a few things about modding but almost everything I've done 'til now has been spell scripting with OBSE. You can count the number of active effects on the player (GetActiveEffectCount), then go one by one checking if the effect is of kind "detect life" (GetNthEffectItemCode ref:spell long:code. To actualy get the code for the Detect life effect, you use GetMagicEffectCode DTCT), then setNthAEmagnitude to 0 (storing that value before) and besides this making a spell or whatever is meant to track the toggle. I'm not 100% sure but I think detect life use the magnitude as area, so it should work. If not then I guess you should check the source of that effect using GetNthActiveEffectCaster, and then SetNthEffectItemArea. I've been scripting a lot this days so I'm gonna take a break and leave this for Pronam, so he could explore a new area of oblivion scripting hehe :P no, seriously, give it a try if you want, if not I'll try to make it when I have a moment. Link to comment Share on other sites More sharing options...
Pronam Posted October 30, 2009 Share Posted October 30, 2009 Yeah I know it's possible and those functions but I couldn't get it to work somehow.If you have a moment before tuesday please take it..I've been so busy at the moment I just can't get my head straight.If you got this one, could you take care of that one that asks to only enable chameleon on sneak as well..it's the same thing practically :).. Link to comment Share on other sites More sharing options...
Recommended Posts