Announcement

Collapse
No announcement yet.

Logging Player location

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Logging Player location

    Hi,

    I am overriding the KillEvent function of Gamestats to be able to log the location of the killer during a deathmatch game.

    I have successfully logged the player number and other information using, for example:

    Log(Controller(Killer.Owner).PlayerNum);

    but Controller(Killer.Owner).Location or Killer.Location just gives 0 0 0 or some other fixed number which doesn't seem to relate to the movement of players and bots.

    Any ideas?

    Thanks

    #2
    Try this, thats if Killer is class Controller.

    Log(Controller(Killer.Owner).Pawn.Location);

    Controller doesn't contain the location of the pawn.

    Comment

    Working...
    X