by Jimmy » Thu May 13, 2010 3:33 pm
A_Fire is great for pulling off certain effects, but these can be ruined when the target dies inexplicably.
One particular effect I'm shooting for is a projectile that latches onto its target, fixing it in place and doing radius damage to it until the projectile explodes (after a set number of tics). If the target dies before the projectile does, the projectile remains there, which produces an undesirable visual oddity - it's still fixed in place, latched onto the target which it just killed!
Unless there's a way to fix this that I've overlooked, I think a flag called CHECKTARGETDEAD (or something), which kills the projectile when its target dies, would be a fairly useful addition.
A_Fire is great for pulling off certain effects, but these [i]can[/i] be ruined when the target dies inexplicably.
One particular effect I'm shooting for is a projectile that latches onto its target, fixing it in place and doing radius damage to it until the projectile explodes (after a set number of tics). If the target dies before the projectile does, the projectile remains there, which produces an undesirable visual oddity - it's still fixed in place, latched onto the target which it just killed!
Unless there's a way to fix this that I've overlooked, I think a flag called CHECKTARGETDEAD (or something), which kills the projectile when its target dies, would be a fairly useful addition.