In a nutshell. I have a projectile that once it hits a bleeding/nonbleeding actor I would like it to attach a unique puff to that actor.
I've tried A_SpawnItemEx, A_FireBullets, A_CustomRailgun. The only one that works (but very inconsistently) is A_CustomRailgun. I'm looking for a sure-fire way for a puff to be attached to a monster every time.
Spoiler:This is the projectile script in DECORATE. For context this is a 'Flare' that once it hits a monster actor it sets them on fire. The puff controls the 'Fire'. The puffs are written in Zscript.
Spoiler:This is the Puff actor, written in Zscript. Both this and 'wpglob' are the same code, they just spawn different 'HitActors'. The HitActors are particle FX and a tick-based damage handlers.
A_SpawnItemEx does nothing in its current state. A_FireBullets had a weird issue of attaching the puff to the *player* depending on their angle from the target.
For AoE puff checks, A_CustomRailgun works perfectly fine but I'm looking for a consistent single-target application method. I hope I am just overthinking this and the solution is just .. right there. But I can't find it xD.
