Checks if the FMV for the given level has been unlocked.
Syntax
IsLevelFMVUnlocked( level )Arguments
- level (integer): The level to check.
Return Values
- (boolean | nil): Whether the given level's FMV has been unlocked or
nilif unavailable.
Examples
local HasBeenSexyWhileParanoid = IsLevelFMVUnlocked(1)
if HasBeenSexyWhileParanoid then
-- Do something now that Homer has been sexy while paranoid
endNotes
In the base game, Level 3 never uses the fmv objective. Instead, Level 3's movie gets marked complete when you watch the Itchy & Scratchy movie after collecting all collector cards.
There is, however, nothing stopping a mod from using a fmv objective in Level 3 if it wants to.