Help making a repeater work for individual players (solution post 14)

So, I have this tag game with a counter that keeps track of how long you have not been tagged. The counter’s visibility is for players, but when any player goes to the shop, I want the counter to pause. I tried using a relay and repeater to decrement the counter every second to keep it even. Now this worked until I realized that it was stopping the counter for all players. How would I do this with just one player?

set the scope to players

3 Likes

on the repeater? because the scope on the counter is already players

I would say change the scope on the repeater yea

(Repeater isn’t that bad)

1 Like

If your going for memory saving, use triggers.

You said you were using a relay? It’s for each player on each team right? Just make it so that everyone is on a different team.

who wouldn’t go for memory saving tho lol

yeah make everyone on a different team with a team switcher.

(oh no I’m out of likes)

1 Like

on the counter

Don’t worry about it :smiley:

there has to be 2 teams because when one player drops an item, the tagger should not see it.

I tried using triggers for each individual player, but they activate a repeater, which you cannot change the scope of.

ok so, if you use a trigger for all the players, you can deactivate it while in the shop, and while the player is a tagger.

1 Like

huh? But the problem is that I want it for each individual player. :man_shrugging:

  1. Try using a trigger loop for memory efficiency.
  2. Use a trigger with player scope, and make it active on game start. Make it invisible, and player collision off.
  3. Wire the repeater/trigger loop to the trigger. [repeater runs/triggers → trigger]
  4. Make it so when the trigger triggers, the counter runs [make the counter player scoped].
    Triggered → Increment Counter.
  5. Make a zone for the shop. When player enters, broadcast on “deactivateTrigger” and when leaving, “activateTrigger” and like the names suggest, make the trigger activate on “activateTrigger” and deactivate on “deactivateTrigger”.

Np! Make the category Help by the way @lukets98 :wink:

2 Likes

Thank you, it took me so long to figure this out! :saluting_face:
done!

1 Like

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