1.These are C++ code
ABlasterGameMode::ABlasterGameMode()
{
bDelayedStart = true;
}
void ABlasterGameMode::BeginPlay()
{
Super::BeginPlay();
StartingLevelTime = GetWorld()->TimeSeconds;
}
void ABlasterGameMode::Tick(float DeltaSeconds)
{
Super::Tick(DeltaSeconds);
TimeDelta += DeltaSeconds;
TimeToStart = TimeToStart - TimeDelta / 60 + StartingLevelTime;
if (TimeToStart <= 0)
{
StartMatch();
}
}
its use bDelayed = true, and after 10s to StartMatch;