Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

EndCoopMatchOptions

How endMatch ends a co-op match: one outcome every member shares.

Property Type Default value Description
outcome Victory | Defeat | Draw undefined A victory or a draw ends a match in play; a defeat ends one that waits, counts down or plays.
reason? string "" Why, which useMatch() and the game read back: a crash, a fall, a false start.
winner? undefined undefined -