Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would you make a door that opened when A team is dead?

Asked by 9 years ago

In my game there is an objective to save a hostage. But your going against other players. I want you to kill all of the other players before you are able to release the hostage. Is there a way to make a brick that loops through a table (doesn't have to use tables if there is another way) and check a team and see if they are dead. In my game also, when you die you change to a lobby team which changes team brick color. Then team they have to kill is ("Bright blue") team.

IN A NUTSHELL (When there are no players on the blue team, the door is open, but if there is even 1 player on the team it is closed)

Closed = transparency = 0 & cancollide = true Open = transparency = 1 & cancollide = false

Answer this question