lagarst Posted July 15, 2014 Share Posted July 15, 2014 I'm trying to create a power with the speedmult association, yet every time i try and cast the power, nothing happens, if i set it as an a ability then it works but i don't want it to be on all the time. Now what am i doing wrong? can someone please help me? thank you Link to comment Share on other sites More sharing options...
lofgren Posted July 15, 2014 Share Posted July 15, 2014 Effects that alter speedmult do not take effect until an animation change is called, e.g. sheathing or unsheathing your weapon, or until the target's inventory weight changes. Link to comment Share on other sites More sharing options...
lagarst Posted July 15, 2014 Author Share Posted July 15, 2014 I'm afraid i don't understand what you mean ? Link to comment Share on other sites More sharing options...
lofgren Posted July 15, 2014 Share Posted July 15, 2014 If you add an effect to a character that alters speedmult, the character will continue to move at the normal speed until something triggers the game to recalculate the character's speed. Two examples are drawing/sheathing weapons or adding/removing items from inventory. Basically you need to add a script to your spell that places a small, non-zero weight item into the character's inventory for the duration of the spell, then removes it when the effect ends. Link to comment Share on other sites More sharing options...
lagarst Posted July 16, 2014 Author Share Posted July 16, 2014 Aright now i get it, you wouldn't know how to create such a script would you ? Link to comment Share on other sites More sharing options...
lofgren Posted July 16, 2014 Share Posted July 16, 2014 (edited) Scriptname FrostSlowFixScript extends activemagiceffect {Tweaks the target's carry weight slightly to ensure the slow effect occurs.} MiscObject property FrostSlowFixItem auto Event OnEffectStart(Actor akTarget, Actor akCaster) utility.wait(0.1) akTarget.AddItem(FrostSlowFixItem, 1, true) endEvent Event OnEffectFinish(Actor akTarget, Actor akCaster) utility.wait(0.1) akTarget.RemoveItem(FrostSlowFixItem, 999, true) endEvent You have to promise to come back and tell me if it works. Do you know how to get it into the CK? Edited July 16, 2014 by lofgren Link to comment Share on other sites More sharing options...
Recommended Posts