How to stop Waiting for Players

I’m new to workshop and I’m trying to create my own sort of zombies game. When a friend and I try it out with just two of us it just says “waiting for players”. I mean it seems like my rules are executing and everything, but there’s no timer or anything. How do I make the game just start with however many players we start it with instead of having it wait for more players?

To clarify, I want to start the game with 1 player on one team and the rest (no matter how few or how many) on the other team. And when I start the game I want it to just start and not wait for more players. I’ll control the win conditions through rules.

1 Like

> Settings > Modes > All > Game Mode Start (Immediately)

Otherwise you will need to “Start the Game” Mode manually in the “Show Lobby” Menu.
(Below the list of Players)

1 Like

thanks. I needed this too.

1 Like

doesn’t work on event modes though, really frustrating too.

Then add

rule("Start Game Mode")
{
	event
	{
		Ongoing - Global;
	}

	conditions
	{
		Current Game Mode == Game Mode(Junkenstein's Revenge);
		Is Assembling Heroes == True;
	}

	actions
	{
		While(Number Of Players(Team 1) < 4);
			Create Dummy Bot(Hero(Ana), Team 1, -1, Null, Null);
		End;
		Wait Until(Is Game In Progress, 99999);
		Destroy All Dummy Bots;
	}
}

This will add the number of missing players and remove them once the game actually has started.

It will however force you to watch the cutscene.
And you’ll hear the bell ringing as if a team mate had died…

2 Likes

i cannot get this to work :sob: i can’t get the <4 to come up after (Team 1) either.
can we still force start junkenstein with bots??

Yep, still working, only difference now is that you’re blasted with the bell sound of allied deaths when the Bots are destroyed.


The action would look like in drop down:

While
	Compare
		Number of Players
			Team 1
		<
		Number
			4
1 Like

Just invoke action (you can copy code above)

actions
{
    // When your rule condition is true, then this will trigger to start match
    Start Game Mode;
}
1 Like