Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Kill Count!!!

How would I be able measure how many kills I got in a game. The game is multiplayer in blueprints and pvp. So when you kill another player in the match you gain a kill (like every other shooter in the world) :) Thanks.

Product Version: UE 4.12
more ▼

asked Aug 13 '16 at 12:04 PM in Using UE4

avatar image

24 5 5 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

what you can do is create an int variable, and in your players hit reg (in the damage deal system) you track the damage dealer, cast it to your player controller and add 1 to it s score value when the players die

more ▼

answered Aug 13 '16 at 12:31 PM

avatar image

769 26 5 43

avatar image Diomedes246 Aug 13 '16 at 12:47 PM

Thanks for the reply :) I've have tried doing this but the part which i don't understand is how to "track the damage dealer" and make him the one who gets the kill.

avatar image expose Aug 13 '16 at 01:30 PM

for exemple, you can use the player controller that ownes the projectile that hits. if i remember well there is a good exemple for that in the multiplayer shootout. (you ll find it in the learn panel of the launcher)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question