Announcement

Collapse
No announcement yet.

Best way to get kill events in UTTeamGame?

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

    Best way to get kill events in UTTeamGame?

    I'm trying to make a custom kill log on my HUD, basically something that can sort incoming messages and sort them by team (Blue Team Kill Window, Red Team Kill Window). I'm extending UTTeamGame, and right now I'm just using bots of different teams.

    I found ParseKillMessage in UTGame.uc ( http://wiki.beyondunreal.com/UE3:Gam...rseKillMessage ) and this seems to get called whenever someone dies, but I can't seem to find what is calling it.

    Is there some kind of GameInfo event that gets called when players die?

    #2
    Hmm...looks like I found BroadcastDeathMessage and NotifiyKilled, which actually give me access to the Controllers that were killed. I'm going to go with these if I don't hear of anything better:

    Code:
    function BroadcastDeathMessage(Controller Killer, Controller Other, class<DamageType> damageType)
    {
    }
    
    function NotifyKilled(Controller Killer, Controller KilledPlayer, Pawn KilledPawn, class<DamageType> damageType)
    {
    }

    Comment

    Working...
    X