Jump to content

Recommended Posts

Posted

I have a spell with a scripted spell effect. It's a fire and forget spell that when it hits the target checks conditions to see if it will take effect. Currently the Hit Effect Art is HealTargetFx and the Hit Shader is HealFX.

 

I could leave it like that but the effect plays whether the spell takes effect or not. I could remove both Hit effects but then nothing would show. Is there a way to have the HealFX and HealTargetFX only play if the spell hits an appropriate target?

Posted
Remove from the magic effect the 'Hit Effect Art' and the 'Hit Shader', and add them inside your script, it would be easier to assist you if you would have posted the script.


But, it should look something like this:


EVENT OnEffectStart(Actor akTarget, Actor akCaster)
If ( all my conditions check...)
MyEffectShader.Play(akTarget)
MyVisualEffect.Play(akTarget)
EndIf
ENDEVENT

Posted

Another option is double-effect. The spell applies an invisible effect that checks conditions, and if met, it applies another effect - one with shaders.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...