void beginPlay()

Called when the level starts

Source

void beginPlay()
{
}