Spoiler
Scriptname GUUM02PerkShockedSilenceEffect extends ActiveMagicEffect{Prevents casting of spells when silence effect is active.}actor victimEvent OnEffectStart(Actor Target, Actor Caster)victim = targetvictim.InterruptCast()Debug.Notification("Target was silenced!")EndEvent
In game, I'm getting the "Target was silenced" when hitting a spellcaster with lightning bolt, but it's not actually silencing them. My guess is that it's probably interrupting them if it catches them mid-cast, but the duration that I thought was being passed from the LightningBolt spell is having no effect on the script. Is there some sort of While loop I could use to continuously prevent the target from casting for a specified duration? Or am I going to have to set a "silenced" property on the target and then edit the magic effects for every other spell to check for whether that target is silenced? Or is there some other solution I don't know about? I'm a papyrus newbie and not a CK expert, so please talk slowly and use small words.
