Scoring is not working

So in my map, the score should count knockouts, but when my game ends, no knockouts are shown. How do I make it so it counts knockouts towards the score?

It only counts player knockouts, not sentries. Are you talking about player or sentry knockouts?

3 Likes

oh thats why thanks. How do I make my game count player knock outs not sentries?

because i have sentries in my map, but i have an overlay showing knockout amuonts but it counts you knocking out sentries, which i dont want.

would a lifecycle connected to players knocked out then that channel to a counter with the same amount of knockouts as my other lifecycle system, would that work?

Make the sentry increment a counter when it is defeated,

Then make that counter update a property,

Get an end of game widget to show said property.

Edit - Images here:





The two counter images are of the same counter.

1 Like

i dont want sentries to count though i only want players getting knocked out to count

Wait, why don’t you just make the score type knockouts and make it show player score.

Edit - Please refrain from marking yourself as a solution next time, its looked down upon and can sometimes be considered solution farming.

ok sorry i removed it

That works, but I also have an overlay on screen that shows how many knockouts you have, and I want it to only increment when players are knocked out. How do I do that? It currently increments when you also knock out the sentries that are in my map, which I don’t want to happen.

Do the system that I showed in the images but instead of an end of game widget and a sentry get a game overlay and a lifecycle (that detects knockouts), make the overlay text, and make block code like this.

Set Text | Create Text With | Eliminations: 
                            | Get Property | Knockouts

The overlay still counts it when you knock out a sentry

? Elaborate on that if you could?

Just decrease the overlay when the player knocks out a sentry.

1 Like

wouldn’t it go to negatives then?

It would, but you mentioned that the score would go up when you knocked out a sentry so +1 and -1 would cancel each other out so there would be no difference from the starting value and the ending value.