The "Triggering player's name" block

You can read this topic to understand what I will be talking about.

I recently discovered that the “Triggering Player’s Name” block doesn’t only apply to players, but also to sentries! This is very helpful in cases in which we need to know what sentry(if we have multiples) knocked out a player.
This is the set-up:
image
Here’s the block code inside the K.O. Manager:
image
Setting of K.O. Manager:
image
Note: before we continue, I must state, this example mainly works when PVP is turned off, meaning that sentries are the only ones who can knock out a player and therefore the setting of the K.O. Manager works with this.
Setting of sentry:
image
You can add more sentries with different names(or no names) and it will still work.

Now, when you run it, you’ll see that when that specific sentry knocks you out, the message is sent, but with the other sentries, it isn’t.
I find this discovery awesome because when I first tried it I didn’t have much hope in it, but now to know that playyer’s name is also usable for sentries is incredible!

-@VALUEX

Hope you all understood! Ask questions in the comments if any.
Credits: Me, Gimkit Team, and @ShadowDragon44(for asking).

7 Likes

Isn’t this block in code quest?

Nice explanation.

Nice guide!

Even though I just saw one like this!

Yes, it is in many places. I just wanted to share something new I discovered as I do not believe most were aware of it until now.

1 Like

SENTY INTERACTIONS!!!
:smiley:
now i wanna experiment a wittle bit

I read it and my opinion completely changed,
cool discovery
But we would have all the sentries to be named “HIE”
However, if you name yourself “HIE” and get knocked out, it will also trigger.

Just change the code to whatever you want(sorry if I didn’t explain that).
Like:

if Triggering Player's Name = "[insert name of your choice]"
do: action

And you can also add multiple if’s(better with elif) to check for multiple names

It won’t trigger if you name yourself “HIE” because you got knocked out, you aren’t the K.O.'r.

alr bob I’ll leave this alone (for now)

had an idea but ran into a roadblock
you could maybe have it damage the sentry with this and decrement a prop representing the sentry hp creating a health bar
but the only way i can i think of to get a sentry to trigger something is when it gets knocked out or a player gets knocked out by it (lasers probs wont work)
so only way to get that pseudo health bar down or damage the sentry would be to knock yourself out or knock the sentry out (i think)

@Build-pleasse, this topic was just created. Let people talk about it for a second!

1 Like