18 lines
281 B
Ucode
18 lines
281 B
Ucode
class ACTION_MoveToPlayer extends LatentScriptedAction;
|
|
|
|
function bool MoveToGoal()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
function Actor GetMoveTargetFor(ScriptedController C)
|
|
{
|
|
return C.GetMyPlayer();
|
|
}
|
|
|
|
defaultproperties
|
|
{
|
|
ActionString="Move to player"
|
|
bValidForTrigger=false
|
|
}
|