Skip to content

Sein Player Start

Class · ASeinPlayerStart : APlayerStart

#include "GameMode/SeinPlayerStart.h"

can be subclassed in Blueprint

A player’s spawn point and slot on the map. Place one per player and set Player Slot to 1, 2, 3 and so on. A level played without a lobby builds its roster from these starts: each start’s slot, faction, team and slot state become one match slot, and its Spawn Entity (usually a headquarters Blueprint) is created at the start’s position when the match is built. When a lobby is used, its slots replace the starts’ values, and the Game Mode seats each connecting player in the slot the lobby assigned.

int32 PlayerSlot · default 0 · min 0, max 16

Editable in defaults and on instances · Blueprint read and write

Which player slot this start belongs to (1-based). The GameMode assigns players to starts by matching this value. 0 = not assigned to a slot when the level’s starts build the match.

FSeinFactionID FactionID

Editable in defaults and on instances · Blueprint read and write

Faction ID authored for this start position’s match slot. Zero is no faction: the player still starts with every Resource Catalog entry.

uint8 TeamID · default 0 · min 0

Editable in defaults and on instances · Blueprint read and write

Team index for this start position. Used for team-based game modes (FFA = each player unique team).

ESeinSlotState SlotState · default ESeinSlotState::Human

Editable in defaults and on instances · Blueprint read and write

Who plays this slot when the level’s starts build the match without a lobby: a human, or the Game Mode’s AI Controller Class (a scenario’s computer opponent, or a map played against AI). A lobby’s slots replace it.

TSubclassOf<ASeinActor> SpawnEntity

Editable in defaults and on instances · Blueprint read and write

The entity to spawn at this start’s baked transform when the match is materialized. Typically a headquarters / base building Blueprint. Leave null to skip the entity while still materializing the player state.

FFixedTransform PlacedSimTransform

Read-only in Details · Blueprint read-only

Saved spawn transform, kept synchronized with this start in the editor. Runtime peers consume the serialized fixed-point bits without converting the visual actor transform.

bool bSimTransformBaked · default false

Read-only in Details

True once Placed Sim Transform has been baked in the editor. The editor re-bakes it whenever the start moves; a start that is not baked stops the match from building until you open and save the map.

C++ members (1)
  • static FSeinMatchSettings SynthesizeMatchSettingsFromLevel(UWorld* World); Synthesize a default FSeinMatchSettings from the level’s SeinPlayerStarts. Each PlayerStart with PlayerSlot > 0 becomes a Human slot, with FactionID + TeamID copied from the PlayerStart actor. Project DefaultMatchExtensions are copied into the settings. Output is sorted by SlotIndex for deterministic iteration order on every peer. The roster of a level played directly, without a lobby: used by the Game Mode and by USeinMatchStartupSubsystem. The match build checks the starts’ baked transforms before it writes anything.