Sentry to player interactions?

If a player knocks out a sentry, you can run an action, but what if the roles were reversed. Is it possible to check whether a sentry has knocked out a player, and then increment a counter? However not just with one sentry, but let’s say 4/20, checking only the 4 and completely disregarding the rest.

Is this even possible? And if so how

2 Likes

I don’t think so
I once tried making sentries play blastball but when they scored the counter didn’t go up lol

1 Like

Yes, sentry interactions are very finicky, some work (getting sentries to destroy a prop), and some don’t (your blastball example)

2 Likes

I don’t think its gonna work in this case, how can we find out if the person who knocks out a player or sentry?

If PVP is off then we only need to check for when a player is knocked out as that would be the only reason they are knocked out, by a sentry.

1 Like

This is advertising,
I had to flag your previous post.

If you want to play with others, perhaps ask on the wixsite,
That’s all I’ll give you.

It’s possible. In the blocks, you can build a system that tracks if players knocked out other players. If they did not, it will activate the interaction. e.g. player knocked out, sentry says, “L BOZO”. But if they did, then it cancels.

No.

Please don’t reply to them. It can encourage negative behavior.

1 Like

Maybe I read this wrong, but that’s not what I’m looking for. I’m looking for sentries knocking out players, not player to player.

Don’t just say no, say it with something they could do or a reason why you said no. It comes off as rude.

If the players knocked another player, then it would cancel. I said that later in the post in question.

Add a knock-out manager with code that checks the triggering player’s name(that being the one who knocked out the player, which is a sentry). Here’s an example of that:
image
This will only work if the sentry’s name is HIE. In order to set the sentry’s name go to this setting in the sentry:
At the bottom of featured…
image
And done! You can now check which sentry knocked out the player and only do a certain task based on such interaction.

Doesn’t triggering player’s name check only for players…?

This doesn’t entirely solve the question as any sentry could trigger the interaction, not just specific ones.

1 Like

Surprisingly, it doesn’t. I tested it.

Problem solved!

It might be called “name” in the code we can’t see.

So its possible for sentries to set the var “name” to their name.

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.