firepower02 Posted January 24, 2014 Share Posted January 24, 2014 How do I add a script that will force the spell duration to end, if a condition is met? If a condition is 30 secs, but a condition is met, it will end immediately. Link to comment Share on other sites More sharing options...
djjohnjarvis Posted January 25, 2014 Share Posted January 25, 2014 You could try using this function: http://www.creationkit.com/Dispel_-_ActiveMagicEffect Link to comment Share on other sites More sharing options...
meh321 Posted January 25, 2014 Share Posted January 25, 2014 You don't need a script for this. Just add the condition to spell in CK. Link to comment Share on other sites More sharing options...
firepower02 Posted January 26, 2014 Author Share Posted January 26, 2014 Add the condition on the magic effect?My script is a MoveTo script, and the OnEffectFinish is to send the character back. If the character dies before the effect finishes, I want it to forcibly finish. So the condition would be GetDead Run On Reference of the character being moved and =! 1? I tried it but it didn't work. Maybe I missed something. Link to comment Share on other sites More sharing options...
Recommended Posts