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

19 lines
333 B
Ucode

class ACTION_Freeze extends LatentScriptedAction;
function bool InitActionFor(ScriptedController C)
{
if ( C.Pawn != None )
{
C.Pawn.bPhysicsAnimUpdate = false;
C.Pawn.StopAnimating();
C.Pawn.SetPhysics(PHYS_None);
}
C.CurrentAction = self;
return true;
}
defaultproperties
{
ActionString="Freeze"
}