Is it possible to make two random relays NOT have a chance of selecting the same player, i’m making a defender game, and I don’t want a player to be the target and assassain.
Other problem: the popups say everyone is a guard, but two of the players aren’t a guard.
You could use this
This is my first guide!
Please notice that this guide is not a duplicate
Ok so have you had a game where you need to teleport a random player inside a zone?
I have before to well this guide will help you!
So what are we trying to do?
We are trying to teleport a random player inside ~~the map~~ a zone this is ideal for maybe a cops and robbers map where you want to release a random person on your team that is inside of a zone.
Why make this?
On with the guide!
Other devices that can b…
Teleport them out so they can’t be picked again
And you would have to trigger this twice I think
CC26
February 28, 2024, 12:17am
3
Try using wire repeaters to delay the signal that goes into the repeater. The relay has to receive a signal to send one, right?
How does that make a player not be picked twice from a random relay? (talking to Coolcaden26)
CC26
February 28, 2024, 12:20am
5
You’re wiring the relays to a lifecycle, I assume?
Because it sets the property to false and it only runs the action if that property is true
Edit: were you replying to someone else?
1 Like
They did not have that when I originally posted lol
1 Like
Foxy
February 28, 2024, 12:23am
9
you can use block code to compare the player names to check
if they switch teams then you just set the relays to random from team 1
CC26
February 28, 2024, 12:24am
10
So basically, I realized that I was wrong lol. It just delayed the process…
However, using what foxy says:
you can use the wire repeater for one of them to change the input times, which makes both people come from team 1.
I did a test without using anything, and you are always on team one. There were two random player relays, I was the only one testing, and I was always one team one.
Edit: with more testing, nothing is wrong, the popups aren’t working
1 Like
Foxy
February 28, 2024, 12:58am
13
often when specific people get powers you switch them to a new team and give the effects to the team
1 Like
CC26
February 28, 2024, 12:58am
14
so the target and the assassin are both on the same team?
No, you are none of them, you are always a guard, or at least the popup says so.
CC26
February 28, 2024, 1:01am
16
The majority of people are guards, right?
I’m the only player testing, the popups aren’t working though. The popups say you are a guard, when you are an assassain or target.
CC26
February 28, 2024, 1:04am
18
You might wanna test with different tabs open as well, in case it works for other tabs. I’ve had problems working with popups too, as in my infection game, I got so frustrated that I just used one popup for the beginnning
I’m going to test with more players. (many versions of me)
1 Like
Doing the test:
Me: assassain
Tester 1 (second me): Target
Tester 2 (third me): Guard
The relays ae fine, the popups aren’t working.
It says we are all a guard.