Re: How to add text to the screen during play.
The argument where you're putting "self.Team" is not supposed to be team number, it's supposed to be the player number. Which means you can only use the function when the actor is controlled by a human player.
You would have to do a check to see if the actor was controlled right before it died, and to put in the player's number that was controlling it.