Sentry Summon Feature Not Working as Intended

Hello forumers. I’m here asking for help in my sentry summon feature. In my game, you can summon a sentry to attack other players. However, it only won’t attack the host and will attack other players, even if they are the ones summoning the sentry, as evidenced by these pictures.


(Person who summoned the sentry is getting attacked by the sentry they summoned)

(Host is not being attacked, even they’re not the one who summoned the sentry)

Does anyone have a solution to this problem?

maybe it’s cuz host is on team one and sentry is also on team one?
idk how to scope the sentry to not attack the summoner tho
im not gkc expert :sob:

2 Likes

I specifically made the sentry be on team 1 so it wouldn’t attack the host, but apparently the sentry being on team 1 means it will only not attack the host. I looked at the scoping thingy of the sentry but nothing seems to be helpful :sob:.

1 Like

I guess you can have 2 different summon buttons wired to different sentries on different teams

Well, if I did do that, I would have 2 problems.

  1. I’d need to build a system to check which team the player is on
  2. I’d need to build 60 individual buttons, one for each of the max of 60 players that can be in a GKC map

so, building separate buttons isn’t an option. Oh, and also the system would be highly memory intensive and inefficient.

1 Like

Hold on, I’m confused.

For this to work, you need 60 sentries (assuming we’re going with 60 max players). 1 on each team. These are all inactive at the beginning, and when a player presses the button, code runs to broadcast on channel: “sentry” + team number (in essentials section). So sentry1, sentry2, so on and so forth. This way, the correct sentry is always spawned because we use the player’s team number to activate the corresponding one.

If this doesn’t work, something’s wrong, because I’m 90% sure it should.

What? You made the sentry not attack the host because you want the sentry to not attack the host?Problem solved?

Oh, I think I get what you mean.

Maybe try putting the host and the sentry on another team like team 64 or smth like that.

So, I don’t know much about knockback health concepts, but is there a way to recover some knockback?
If so then when you click the button, it should rapidly recover the Knockback health

You know, at this point, everyone is saying that this system is way to complicated to actually be possible, so I’m just gonna scarp this entire system.

4 Likes

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