rott/kf_sources/KFMod/Classes/MiscEmmiter.uc
2026-07-14 20:27:09 +07:00

31 lines
433 B
Ucode

class MiscEmmiter extends Emitter;
//Just to spawn nothing....
var class<DamageType> DamageType;
var vector HitLoc;
function PostBeginPlay()
{
}
simulated function Tick(float deltaTime)
{
}
simulated function Destroyed()
{
if ( xPawn(Owner) != None )
{
xPawn(Owner).bFrozenBody = false;
xPawn(Owner).PlayDyingAnimation(DamageType, HitLoc);
}
}
defaultproperties
{
DrawType=DT_Mesh
}