1
0
KF2-Dev-Scripts/KFGameContent/Classes/KFGFxMoviePlayer_Manager_Tutorial.uc
2020-12-13 18:01:13 +03:00

27 lines
957 B
Ucode

//=============================================================================
// KFGFxMoviePlayer_Manager_Tutorial
//=============================================================================
// Notify the game info when the player selects a menu we may want
// to assign a tutorial
//=============================================================================
// Killing Floor 2
// Copyright (C) 2016 Tripwire Interactive LLC
//=============================================================================
class KFGFxMoviePlayer_Manager_Tutorial extends KFGFxMoviePlayer_Manager;
function OpenMenu( byte NewMenuIndex, optional bool bShowWidgets = true )
{
local KFGameInfo_Tutorial GI;
Super.OpenMenu(NewMenuIndex, bShowWidgets);
if ( CurrentMenuIndex == NewMenuIndex )
{
GI = KFGameInfo_Tutorial(class'WorldInfo'.static.GetWorldInfo().Game);
if ( GI != None )
{
GI.NotifyMenuOpened(NewMenuIndex);
}
}
}