I’ve been making jail, but I’m having some difficulties with it. Basically, there was a glitch with the system where if a player got tagged while they were in where the jail appears, then the tagger got trapped.
To fix this, I made a system that would respawn the tagger if they were in the zone. The problem with this was that now if a person who wasn’t a tagger was in the area where the jail appears, they would get trapped.
My next idea was to switch from using a teleporter to move the player that got tagged to using a checkpoint, but what I didn’t know was that checkpoints can still be triggered by player collision even if they’re hidden, so if someone hits the checkpoint and gets respawned, then they’re trapped.
@BMW23 and @Peridotite those jails are not the style I am trying to create. The jails will be placed openly on the map and will only activate and show once someone is put into it, and players will also be able to be freed from the jail.
@Gimkitsuggestor that’s about the best I can do right now, I’ll have some pictures and gifs soon.
@Fulcrum-19
Maybe…
Have it so that the jail is basically just a box of props/barriers
And have like an invis vending machine outside that makes them go away for like 7 sec when you purchase
And you need an item to free ur teammates
Make sure you make it so only one team can purchase that item
And if u want a part where they can free themselves…
MAke it so they earn something, and enough of that something can be used to get out of jail
@BMW23 Thanks for the idea, but thats not the system I’m looking for.
@here
Here is a gif of the system in action:
Test 1 is the tagger. They tag me while I’m in the zone, and they respawn inside of the jail because of the checkpoint.
This is the system I’m using:
You can’t see it, but there are lasers surrounding the jail to make a pseudo zone. When you enter the zone, it will activate a trigger. Whenever someone gets put into jail when someone is in the zone, the relay triggers the trigger causing the player to respawn.
I had the idea of instead of respawning them, you could teleport them to a random area which would work better, but takes up valuable memory.
I’ll go back to using teleporters, but instead of the zone constantly checking to see if you’re inside, it will only check once when receiving on a channel, and only if there is nobody inside of the jail.
I’ll use a counter, property, and checker to see if anyone is in the jail.
The only issue I can think of it having is when you’re inside of a zone and the zone activates, you have to move, otherwise the zone will not think you’re inside. Can anyone think of a workaround to this?