home *** CD-ROM | disk | FTP | other *** search
/ Game Level Design / GLDesign.bin / Software / UnrealEngine2Runtime / UE2Runtime-22262001_Demo.exe / Gameplay / Classes / ACTION_MoveToPlayer.uc < prev    next >
Text File  |  2003-12-11  |  281b  |  18 lines

  1. class ACTION_MoveToPlayer extends LatentScriptedAction;
  2.  
  3. function bool MoveToGoal()
  4. {
  5.     return true;
  6. }
  7.  
  8. function Actor GetMoveTargetFor(ScriptedController C)
  9. {
  10.     return C.GetMyPlayer();
  11. }
  12.  
  13. defaultproperties
  14. {
  15.     ActionString="Move to player"
  16.     bValidForTrigger=false
  17. }
  18.