Difference between revisions of "User talk:Dran"

Jump to navigation Jump to search
1,200 bytes added ,  10:33, 13 September 2007
Problem with multiple uses of modav magicka
imported>Dran
(How to Fly)
imported>Dran
(Problem with multiple uses of modav magicka)
Line 37: Line 37:
I have experimented with Toggle Collision and flying. I would like to create a mod that would allow this without allowing the player to fly through solid objects. Has anyone worked on this?  
I have experimented with Toggle Collision and flying. I would like to create a mod that would allow this without allowing the player to fly through solid objects. Has anyone worked on this?  


<nowiki>Dran</nowiki>
I'm suffering from a curiousity.  My intention was to cause an effect to have a magicka cost.  I run the script
<nowiki>
Begin OnMagicEffectHit FOSP
    Player.removeitem gold001 30
    player.modav magicka -300
End
</nowiki>
the first time I execute this script, it works as I had expected.  Player magicka was reduced by 300 and a message said the gold had been removed.  Magicka began to recharge as normal.  I let it recharge to the full base value.
The second time the script ran the Magicka was reduced, but did not regenerate.  In fact, it froze at the new level 300 below the base value.  Other spells contine to function, but magicka only regenerates to 300 below the base value. Repeated use of the script continued to reduce the magicka, by 300 each time and it would not recharge to the base value.
I have tried resting 24 hours.  I have tried using consol command (modav) to restore to the base value - won't do it.  I have used the consol to change the base value (setav).  This works, but the maximum value of magicka that I can acheive is still 300, or 600 below the real base value.
I am such a complete novice at this.  Any ideas would be very helpful.
<nowiki>Dran</nowiki>
<nowiki>Dran</nowiki>
Anonymous user

Navigation menu