Results 1 to 3 of 3

Thread: What is the "name" of the player in Unreal Script ?

  1. #1

    Question What is the "name" of the player in Unreal Script ?

    Hey, I am trying to code a bot which run directly to the player wherever he is, so I started to get my hands on the mess and use the MoveToward function, but I need the actor for that. Though I could get the player into a variable via an event, I want the bot to rush the player even if it can't see nor hear him.

    So I need to get him directly into a variable, like Target=UDKPlayer0 or something like that.


  2. #2
    the actor (pawn) of the player can be gotten with GetALocalPlayerController().Pawn

  3. #3
    Oh yeah thanks I'm going to try that !

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts