home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Level Design
/
GLDesign.bin
/
Software
/
UnrealEngine2Runtime
/
UE2Runtime-22262001_Demo.exe
/
Gameplay
/
Classes
/
ACTION_TurnTowardPlayer.uc
< prev
next >
Wrap
Text File
|
2003-12-11
|
425b
|
24 lines
class ACTION_TurnTowardPlayer extends LatentScriptedAction;
function bool InitActionFor(ScriptedController C)
{
C.ScriptedFocus = C.GetMyPlayer();
C.CurrentAction = self;
return true;
}
function bool TurnToGoal()
{
return true;
}
function Actor GetMoveTargetFor(ScriptedController C)
{
return C.GetMyPlayer();
}
defaultproperties
{
ActionString="Turn toward player"
bValidForTrigger=false
}