Is there any way to make a 1 player game
what do you mean? a game where only one player can play?
Allow Solo Play in map Options
yes, its kind of a escape room and I think it will be beter for 1 person
Solo play in options, the little gear in the left bottom corner. Go to map options.
i want it that you cant play with more then 1 person, will it still work?
You could make a trigger that is placed where the players spawn. When it is triggered make it increment a counter. If the counter target reaches two, activate a team switcher(spectators) for the player triggering the trigger the second time. Also, to prevent the counter being stuck on 2, make it decrement by 1 when the team switcher activates.
Oh then no, I suggest making a live player counter:
connect a tracked property to the counter. and then a checker.
Want to know more?
Continue Guide
Make it where it checks the value of a property on (lifecycle-game start), then if the property is the value of 2, connect it to end game. This will automatically end the game if it is more than 1 player. [If this glitches and ends the connect at the start of the game, then have a wire repeater with a set delay. Should look something like this:
Get a lifecycle for game start. Then an all other player relay, and a team switcher for spectators.
Event Occurs (lifecycle) → Run Relay (Relay)
Relay Run (Relay) → Switch to configured team (team switcher)
Basically, since the host triggered the game start, it becomes like a relay for the host at the game start. Then, all other players apart from the host becomes a spectator.
It should look like this:
@quijan good point.
Now, make a lifecycle for player joins late. Wire that to the team switcher.
Event Occurs (Lifecycle) → Switch Player to configured team (team switcher)
Combining that with my system definitely would be efficient.
but the problem is that the 1st player might walk on the trigger again
Make it have the max triggers of 1
Your system isn’t needed when the system I posted is in play.
There’s a way to kick off every other player but the host if that’s what you’re asking.
Lifecycle → relay (all other players) → team switcher → spectator I’m pretty sure.
Another easier way is to tell the player in the lobby before the game starts that “this game is meant for 1 player ONLY!”
yes go to opcoins then edit and host can start with only themselfs
You could just make 2 spawn pads. Just make one player only and spawn on a trigger that makes them spectate. The other, Host only and make it go into the game!
Hey, make sure to mark a solution so that others can use it!