When does Melee Attack 'finish'?

Started by Argain, June 03, 2014, 08:47:27 AM

Previous topic - Next topic

Argain

When something melee attacks something else, does the flow of the code end with the 'Damage Flasher' class? Looking for a way to inject something along the lines of "if (pawn == [Something]) then commit suicide after causing damage", but struggling to find where exactly one instance of a melee attack 'ends'. Could also see this being useful knowledge for anyone wanting to make some kamikaze enemies lol

Tynan

I'm trying to think how you could do a dude who explodes or dies on melee. But it's tricky. Melee is basically hardcoded in a really simple way right now so I don't think this is possible.

If I were to do it I'd replace the Verb_MeleeAttack class.
Tynan Sylvester - @TynanSylvester - Tynan's Blog

mrofa

Weapon with range of 1 and custom class to make it explode.
All i do is clutter all around.