my goal is assign the magic effect "VoiceUnrelentingForceEffect3" to a custom destruction spell, and set it up
so that it will only trigger if the spell was charged for atleast 2 seconds.
i intend to do this by editing the built-in script of "voiceunrelentingforceffect3" to include an IF statement,
but i have no idea how the syntax or declarations work for the functions.
ORIGINAL Script:
Event OnEffectStart(actor Target, actor Caster)
Caster.PushActorAway(Target, PushForce)
EndEvent
MODIFIED Script IDEA
Event OnEffectStart(Actor Target, Actor Caster)
If (IsKeyPressed(256) holdtime >= 2.0)
Caster.PushActorAway(Target, PushForce)
endif
endevent