Need help with creating a trail for a weapon using a sprite

Hi there guys, per requirements of our FX Team they need to, when in some frame of an attack animation, show a trail they created by drawing it on a tiled atlas map. They basically created an atlas map of an attack that i thought on animating using a Flipbook.

So i created an actor who has a flipbook component who renders this sprite animation, so far so good.
Next i needed to create an anim notify (state) that would on creation, create the actor on the map given some values like a desired rotation and whatnot. Also it would set the flipbook to play from start (very important)
On each tick it would (if checked for self destruct) check if the animation has completed and destroy the created actor.

OnEndReceived it would check if the actor created still exists and destroy it if it indeed existed.
On my mind this was a great solution but i found out that i cannot spawn actors on the AnimNotifyState blueprint class. This kills the crab and i’m really frustrated that this little issue is stopping me from going further.

Any sugestions? is using Sprites the way to go, or should i use something else?, the original requirement was to use an animated material on a plane, but i thought that using sprites was much easier.

Thanks a lot guys


I found a way to instantiate an sprite using a Particle System using a Flipbook Material.
The problem i have found is that i need to force the material to sync the animation with the spawn time, i have done this workaround

Ia have added a dynamic parameter for further use on the Particle system, my idea here was to set the time of the animation minus the spawn time, so it’s always 0 on first frame. Also i added a Rate Parameter for controlling the velocity of the flipbook.

After this i created a Dynamic Node on Cascade.

Here i can modify the material and the sprite would change its animation accordingly.

Finally on my Custom AnimNotify (state for now) Blueprint i created the particle component and created a dynamic material instance.

The problem is… no matter what i do, no matter if i set the dynamic parameter on the particle system or the material instance, no matter what, the material DOESN’T CHANGE, AT ALL. I even created a 3rd parameter for controlling the emission color for debugging, tried changing the values from 0 to 1000 and not a single change is being made, but if i do it on the Dynamic node of the particle system, the changes DO OCUR.

Please help me, i really need to sync this sprites and i’m breaking my head on how little information there is about this subject, especially with anim notifies