1
0
KF2-Dev-Scripts/KFGameContent/Classes/KFExplosion_HRG_Warthog.uc

36 lines
982 B
Ucode
Raw Permalink Normal View History

2023-05-11 15:55:04 +00:00
//=============================================================================
// KFExplosion_HRG_Warthog
//=============================================================================
// Killing Floor 2
// Copyright (C) 2023 Tripwire Interactive LLC
//=============================================================================
class KFExplosion_HRG_Warthog extends KFExplosionActor;
var private int HealingValue;
// Disable Knockdown for friendlies
protected function bool KnockdownPawn(BaseAiPawn Victim, float DistFromExplosion)
{
if (Victim.GetTeamNum() != Instigator.GetTeamNum())
{
return Super.KnockdownPawn(Victim, DistFromExplosion);
}
return false;
}
// Disable Stumble for friendlies
protected function bool StumblePawn(BaseAiPawn Victim, float DistFromExplosion)
{
if (Victim.GetTeamNum() != Instigator.GetTeamNum())
{
return Super.StumblePawn(Victim, DistFromExplosion);
}
return false;
}
DefaultProperties
{
}