1
0
KF2-Dev-Scripts/KFGameContent/Classes/KFGFxMoviePlayer_Manager_Tutorial.uc

27 lines
957 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
//=============================================================================
// 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);
}
}
}