--6.0000 function fadein_brass_office() ChangeRoom( BrassRoom01 ) FadeIn() if not IsEventDone ( EVBrassOfficeIntro ) then PlayDialog( Brass, "M1_BRASS_1246" ) else T = Random (3) if T == 1 then PlayDialog (Brass, "M0_BRASS_1299") end if T == 2 then PlayDialog (Brass, "M0_BRASS_1300") end if T == 3 then PlayDialog (Brass, "M0_BRASS_1301") end end end AddEvent( EVBrassOfficeIntro, true, nil, BrassOffice, nil, "fadein_brass_office" ) function enter_brass_room01 () DisplayQuestionList ( Brass ) end AddEvent( nil, true, nil, BrassRoom01, nil, "enter_brass_room01") function click_on_brass() DisplayQuestionList(Brass) end AddEvent( nil, true, nil, HBrass, nil, "click_on_brass") -- Can you get me a warrant/interrogation? function brass_question_TB_Q222() DisplayQuestionList (Warrant) end AddQuestion ( Brass, true, nil, "_TB_Q222", nil, nil, "brass_question_TB_Q222" ) -- Suspect? function brass_question_TB_Q223() if not DisplayQuestionList (WarrantSuspects) then PlayDialog (Brass, "M0_BRASS_1288") end end AddQuestion ( Warrant, true, nil, "_TB_Q223", nil, nil, "brass_question_TB_Q223" ) -- Location? function brass_question_TB_Q224() if not DisplayQuestionList (WarrantLocations) then PlayDialog (Brass, "M0_BRASS_1289") end end AddQuestion ( Warrant, true, nil, "_TB_Q224", nil, nil, "brass_question_TB_Q224" ) --------------------------------------------------------------------------------------------------------- function play_random_location () T = Random (3) if T == 1 then PlayDialog (Brass, "M0_BRASS_1287") end if T == 2 then PlayDialog (Brass, "M0_BRASS_1286") end if T == 3 then PlayDialog (Brass, "M0_BRASS_1285") end end function play_random_suspect () T = Random (9) if T == 1 then PlayDialog (Brass, "M0_BRASS_1279") end if T == 2 then PlayDialog (Brass, "M0_BRASS_1280") end if T == 3 then PlayDialog (Brass, "M0_BRASS_1278") end if T == 4 then PlayDialog (Brass, "M0_BRASS_1277") end if T == 5 then PlayDialog (Brass, "M0_BRASS_1276") end if T == 6 then PlayDialog (Brass, "M0_BRASS_1275") end if T == 7 then PlayDialog (Brass, "M0_BRASS_1274") end if T == 8 then PlayDialog (Brass, "M0_BRASS_1273") end if T == 9 then PlayDialog (Brass, "M0_BRASS_1281") end end function play_random_suspect_brought_in () T = Random (2) if T == 1 then PlayDialog (Brass, "M0_BRASS_1293") end if T == 2 then PlayDialog (Brass, "M0_BRASS_1294") end end IncludeFile("Script\\GameLogic\\BrassQuestions.lua")