How do I do a Combo/Streak Counter?

I’m modding a game. I want to add a killstreak/counter system and item drop chance to it. I am capable of getting data from an actor but unable to add functions to it to launch events in another blueprint.

Using another blueprint I can pull the current enemies killed from the controlled character. I can’t wrap my head around on how to do the counter this way.
What I want to do are,

  1. Having a Retriggerable Delay reset each time the kill count goes up
  2. The killstreak timer ends after 5 seconds when kill count hasn’t gone up within that time.
  3. Each 10 kills adds 5% item drop chance
  4. Item drop chance also resets to 0% when killstreak ends

1 and 2 are mostly what I want. Helping me with 3 and 4. Kudos to you all.

Hey @TheNeru!

Have you tried setting up a manual countdown that subtracts by seconds? If you set a countdown variable to 5 after every kill, it should in theory keep resetting, and once it hits zero you can set end your streak. Here is an example of what I’m referring to:

I hope the above leads you to the solution you need.

i want to know how you add blueprints to a mod game :slight_smile:

Thank you so much! This works!
Now I got a working timed kill streak and it increases item drop chance by 5% per 10 kills during streak. Much appreciated.