home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Level Design
/
GLDesign.bin
/
Software
/
UnrealEngine2Runtime
/
UE2Runtime-22262001_Demo.exe
/
Gameplay
/
Classes
/
ACTION_Freeze.uc
< prev
next >
Wrap
Text File
|
2003-12-11
|
333b
|
19 lines
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"
}