
12-12-2002, 07:31 PM
As I said in my original post, I am looking for a means of using the game's script language to identify a player's attacker. The basic concept is that I want to print information to the game server's log file about the originator of player damage. Here's an example:
Player1 shoots Player2 and does 65 points of damage.
I can already generate log data regarding the client ID of the player who is injured, his original health value, his team assignment, the amount of damage incurred, and his health remaining. What I have not been able to do yet is identify the client ID of the player who caused the damage, which in this case would be the client ID of Player1.
I am aware that the information is displayed on the screen, but it unfortunately isn't really what I need. I'm specifically looking for a way of capturing that data programmatically.
|