API IsInCinematicScene

Returns true during cinematics produced dynamically by the game engine. inCinematicScene = IsInCinematicScene

Returns

 * inCinematicScene : - True if the game is showing an in-game cinematic scene

Details

 * Differs from which returns true for pre-rendered "movie-like" cinematics.

Example
Combine with and  to track when cinematics start and end. local inCinematic = InCinematic and "Pre-rendered" or IsInCinematic and "Dynamic" local frame = CreateFrame("Frame") frame:HookScript("OnEvent", function(__, event)   if (event == "CINEMATIC_START") then      inCinematic = InCinematic and "Pre-rendered" or IsInCinematic and "Dynamic"    elseif (event == "CINEMATIC_STOP") then      inCinematic = false    end  end) frame:RegisterEvent("CINEMATIC_START") frame:RegisterEvent("CINEMATIC_STOP") print inCinematic   -- Returns false, "Pre-rendered", or "Dynamic"