-- 14.1 si 18.1 si 22 function class_intro() -- PlayIntroMovie(....) FadeIn() ChangeRoom( ClassroomNickDoor ) PlayDialog( Nick, "M3_NICKEXPO_07" ) ChangeRoom( ClassroomFrank1 ) PlayDialog( Frank, "M3_FRANKEXPO_01" ) ChangeRoom( Classroom1 ) PlayDialog( Nick, "M3_NICKEXPO_08" ) PlayDialog( Frank, "M3_FRANKEXPO_02" ) PlayDialog( Nick, "M3_NICKEXPO_09" ) PlayDialog( Frank, "M3_FRANKEXPO_03" ) PlayDialog( Nick, "M3_NICKEXPO_10" ) PlayDialog( Frank, "M3_FRANKEXPO_04" ) PlayDialog( Nick, "M3_NICKEXPO_11" ) PlayDialog( Frank, "M3_FRANKEXPO_05" ) PlayDialog( Nick, "M3_NICKEXPO_26A" ) PlayDialog( Nick, "M3_NICKEXPO_26B" ) PlayDialog( Frank, "M3_FRANKEXPO_14" ) PlayDialog( Nick, "M3_NICKEXPO_12" ) AddSuspect( Frank, "Professor Franklin", "Art\\Reenactments\\Pictures\\frank.tga" ) UpdateCaseFile( Frank, SUSPECT_CRIMESCENE, "TEXT3435", 100 ) -- SetVisible( OClassroomCans, false ) end AddEvent( nil, false, nil, ClassroomNickDoor, nil, "class_intro" ) function class_enter() if not IsEventDone( EVClassIntro ) then ChangeRoom( ClassroomNickDoor ) end if not IsEventDone( EVLaskinThreadAnalyzed ) and IsEventDone( EVClassIntro ) then FadeIn() end if IsEventDone( EVLaskinThreadAnalyzed ) and not IsQuestionAsked( Brass, "TEXT3362" ) and (not IsQuestionAsked( Brass, QIDFrankInt )) then ChangeRoom( Classroom2 ) end if IsEventDone( EVLaskinThreadAnalyzed ) and IsQuestionAsked( Brass, "TEXT3362" ) and (not IsQuestionAsked( Brass, QIDFrankInt )) then FadeIn() end if IsEventDone( EVLaskinThreadAnalyzed ) and IsQuestionAsked( Brass, "TEXT3362" ) and IsQuestionAsked( Brass, QIDFrankInt ) then FadeIn() SetActive( HFrankClass, false ) end end AddEvent( EVClassIntro, true, nil, Classroom, nil, "class_enter" ) function class_enter_without_franklin() FadeIn() if not IsEventDone( EVClass2Intro ) then PlayDialog( nil, "M3_NICKENTER_01" ) end end AddEvent( EVClass2Intro, true, nil, Classroom2, nil, "class_enter_without_franklin" ) -- 14.2.1 function frank_questions() -- DisplayQuestionList( Frank ) if not DisplayQuestionList( Frank ) then PlayDialog ( nil, "M3_FRANK_50") end end AddEvent( nil, true, nil, ClassroomFrank1, nil, "frank_questions" ) AddEvent( nil, true, nil, InterroFrank, nil, "frank_questions" ) function frank_default() -- DisplayQuestionList( Frank ) if not DisplayQuestionList( Frank ) then PlayDialog ( nil, "M3_FRANK_50") end end AddEvent( nil, true, nil, HFrankClass, nil, "frank_default" ) AddEvent( nil, true, nil, Frank, nil, "frank_default" ) -- 14.3 si 14.4 function class_soda_can() PlayDialog( nil, "M3_NICK_65" ) if IsEventDone( EVSodaCanRiley ) then PlayDialog( nil, "M3_NICK_68" ) end end AddEvent( nil, false, nil, ClassroomCans, "class_soda_can_condition", "class_soda_can" ) -- 14.4.1 function class_soda_prints() SetActive( OClassroomCans, false ) SetActive( HClassroomSodaPrintObj, false) --Sunt definite 2 HOTSPOT-uri cu acelasi nume in Locations si nu poate fi facut invizibil SetActive( HClassroomSodaCan, false ) PlayDialog( nil, "M3_NICK_67" ) AddEvidence( ETSodaPrintLab ) AddEvidenceDescriptionText( ETSodaPrintLab, "TEXT3214" ) end AddEvent( nil, false, fingerdust, OClassroomCans, nil, "class_soda_prints" ) -- 18.2 function class_red_sweater() PlayDialog( nil, "M3_NICKEVID_16" ) end AddEvent( nil, false, nil, ClassroomSweaterA, nil, "class_red_sweater" ) -- 18.2.1 function class_sweater_pickA_condition() return not HasEvidence( ETProfessorHair ) end function class_sweater_pickA() PlayDialog( nil, "M3_NICKEVID_24" ) end AddEvent( nil, true, gloves, HClassroomSweater2ATools, "class_sweater_pickA_condition", "class_sweater_pickA" ) -- 18.2.2 function class_sweater_lens() ZoomToRoom( ClassroomSweaterC ) end AddEvent( nil, true, magnifier, HClassroomSweater2B, nil, "class_sweater_lens" ) function class_sweater_zoom() ZoomToRoom( ClassroomSweaterB ) end AddEvent( nil, true, magnifier, HClassroomSweater2A, nil, "class_sweater_zoom" ) function class_sweater_dandruff_room() PlayDialog( nil, "M3_NICKEVID_26" ) end AddEvent( nil, false, nil, ClassroomSweaterC, nil, "class_sweater_dandruff_room" ) -- 18.2.3 function class_sweater_dandruff_pick() ChangeLink( HClassroomSweater2A, TOOLS ) SetVisible( OClassroomSweater2C, false ) SetVisible( OClassroomSweater2B, false ) SetActive( HClassroomSweater2C, false ) SetActive( HClassroomSweater2B, false ) SetActive( HClassroomSweater2ATools, true ) AddEvidence( ETProfessorHair ) AddEvidenceDescriptionText( ETProfessorHair , "TEXT3190" ) end AddEvent( EVDandruffPick, false, adhesive, HClassroomSweater2C, nil, "class_sweater_dandruff_pick" ) --function class_sweater_link_cond() -- return HasEvidence( ETProfessorHair ) --end --function class_sweater_link() -- ChangeLink( HClassroomSweater2A, TOOLS ) --end --AddEvent( nil, true, nil, ClassroomSweaterA, "class_sweater_link_cond", "class_sweater_link" ) -- 18.2.4 function class_sweater_pick_condition() return HasEvidence( ETProfessorHair ) end function class_sweater_pick() SetVisible( OClassroomSweater2A, false ) SetVisible( OClassroomSweaterFar, false ) SetActive( HClassroomSweater2A, false ) SetActive( HClassroomSweaterFar, false ) AddEvidence( EISweater ) AddEvidenceDescriptionText( EISweater , "TEXT3196" ) end AddEvent( nil, false, gloves, HClassroomSweater2A, "class_sweater_pick_condition", "class_sweater_pick" ) -- Nick Hints function class_nickCU() if not DisplayQuestionList( Nick ) then PlayDialog( Nick, "M4_NICK_1999" ) end end AddEvent( nil, true, nil, ClassroomNickSit, nil, "class_nickCU" ) AddEvent( nil, true, nil, ClassroomNickClass, nil, "class_nickCU" ) AddEvent( nil, true, nil, HNickClassroom, nil, "class_nickCU" ) IncludeFile( "Script\\Gamelogic\\FrankQuestions.lua" )