Gez
Why don't I have a custom title by now?!
Posts: 7040
Registered: 07-07 |
scalliano said:
I've seen it happen in ZDoom, dunno if that counts.
You were seeing the result of a some HateTarget script, or maybe some DEHACKED or DECORATE modification was in play. With the standard actors unchanged and without scripting involved, it simply cannot and will not happen.
Sodaholic said:
ZDoom uses the pre-1.5 behavior for monster melee.
Stop smoking pot. It's not good for your neurons.
code: DEFINE_ACTION_FUNCTION(AActor, A_SargAttack)
{
if (!self->target)
return;
A_FaceTarget (self);
if (self->CheckMeleeRange ())
{
int damage = ((pr_sargattack()%10)+1)*4;
P_DamageMobj (self->target, self, self, damage, NAME_Melee);
P_TraceBleed (damage, self->target, self);
}
}
See? FaceTarget, CheckMeleeRange, P_DamageMobj. No line being traced except for the blood decals. It's not a hitscan, just a range check.
|