Having trouble with a Slow Time effect; effects persist afte

Post » Sat Feb 16, 2013 2:24 pm

I'm working on a perk that slows time by 25% as long as the player is in combat, is not wielding weapons, and it unarmored. The pers also adds a bonus to attack and movement speeds of 25% to offset the slow time effect on himself somewhat.

However, when the effect ends (by equipping a weapon, armor, or ending combat) the player is moving at extremely slow speeds, as if he's still under the effect of slow time. However, the rest of the surrounding characters are moving at normal speed, and all the other effects of the spell are gone.

Any idea why the player is still suffering these effects?

The perk grants an ability which has three different magic effects (slow time .75, modspeed 125, and Modify Attack Speed Right and Left 1.25) and all three effects have the same conditions: GetEquippedItemTypeRight !=1, GetEquippedItemTypeRight !=2, GetEquippedItemTypeRight !=3, GetEquippedItemTypeRight !=4, GetEquippedItemTypeRight !=5, GetEquippedItemTypeRight !=6, GetEquippedItemTypeRight !=7, GetEquippedItemTypeRight !=12, GetEquippedItemTypeLeft !=1, GetEquippedItemTypeLeft !=2, GetEquippedItemTypeLeft !=3, GetEquippedItemTypeLeft !=4, WornHasKeyword 'ArmorCuirass' == 0, WornHasKeyword 'ArmorBoots' == 0, WornHasKeyword 'ArmorHelmet' == 0, WornHasKeyword 'ArmorGauntlets' == 0, and GetCombatState == 1.

All the effects die as expected when any of these cease to be true, even MOST of the effects of the slow time, but the effects of the slow time effect on the player remains indefinitely. I had thought for a while that it was some side effect of the SpeedMod effect (which I've never used before) but removing it didn't change anything.

Anybody know what's going wrong?
User avatar
Naomi Ward
 
Posts: 3450
Joined: Fri Jul 14, 2006 8:37 pm

Return to V - Skyrim