Hello everyone,
After doing several searches online and on the forum, I’m struggling to find a solution to my problem.
Context:
I have a SpellSystem component that generates spells, which themselves have event dispatchers that are called when they hit an actor. The event dispatcher triggers correctly on my spells, except for my melee spell, which has a lifespan of 0.26 second
Behavior:
The event dispatcher triggers occasionally, mostly when I spam my attack.
Issue:
Is 0.26 seconds too short to use an event dispatcher?
Using an interface works, but I’ve read that the best practice would be to use an event dispatcher.
Here is the spell ( Spell on Hit BPI always trigger )
Here is the spellSystem component ( print Event triggers occasionally )
testattack event triggers when i leftclick
Thank you for taking the time to read my message.

