Hey there,
I've a delicate problem.
I am still developing a mod for Nehrim with my pal.
Until yet it was part of the german "NehrimData.esp", but since he conviced me to pull it into an own ESP I've deleted all content which comes with the german "NehrimData.esp" and made a own mod out of it.
So it should be easier to translate now.
However, there appear to be a problem: 3 scripts stopped working just because they use "GetTotalAEAbilityMagnitude".
For example:
scn VarAggroAntiSneakSCRIPTshort Schleichfertigkeitfloat Schleichprozessfloat TempSchleichwertBegin ScriptEffectStart Set Schleichfertigkeit to (Player.GetBaseAV Sneak - Player.GetTotalAEAbilityMagnitude FOSK Sneak) Set TempSchleichwert to (Player.GetBaseAV Sneak - Schleichfertigkeit) Set Schleichprozess to GetPlayerSkillUse Sneak Player.SetAV Sneak TempSchleichwert if VarNoLearningByDoing == -1 Set TempSchleichwert to (GetPlayerSkillUse Sneak - (GetPlayerSkillUse Sneak * 2)) ModPlayerSkillExp Sneak TempSchleichwert SetSkillUseIncrement 0 Sneak 0 SetSkillUseIncrement 0 Sneak 1 endif Player.ModAV Sneak -50 Set zzReitierTurnSpeedQUEST.VarNoSneakTraining to 1EndBegin ScriptEffectFinish Set TempSchleichwert to (Schleichfertigkeit + Player.GetTotalAEAbilityMagnitude FOSK Sneak) Player.SetAV Sneak TempSchleichwert if VarNoLearningByDoing == -1 ModPlayerSkillExp Sneak Schleichprozess SetSkillUseIncrement 0.55 Sneak 0 SetSkillUseIncrement 2 Sneak 1 endif Player.ModAV Sneak 50 Set zzReitierTurnSpeedQUEST.VarNoSneakTraining to 0End
This is a magic effect script, which reduces the sneak ability to -50 as long as the player is falling or in sneak mode without using the walk function to move slower.
If the nerf gets applied it is deleted when the player uses the walk function while sneaking, or an eventual combat is ended.
The magic effect gets applied to the player, as I verified that with a debug message.
But the script does nothing as long as "GetTotalAEAbilityMagnitude" is used.
I can also confirm that this worked before, but I have no idea why it has troubles now.
The script seems not to work (even debug messages doesn't appear) as long as it uses that function.
Any hints of how to make those functions work again, without ruining the whole script?
I know that this should work, since it did before
Thanks.
PS: I've plenty of other OBSE functions running without any problems.
This is the only one which makes troubles, even if it shouldn't as those scripts worked in the merged version of this mod.
Unfortunately I deleted any older version (the ones which were merged into "NehrimData.esp"), since I thought it should be indeed an own mod to make it easier for others to work with it.
Without having messing around about the additions included by the "NehrimData.esp" (which actually comes with any version, but still shouldn't used as mod ESP).