function fadein_brass_office() ChangeRoom( BrassRoom01 ) FadeIn() 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 AddEvent( nil, true, nil, BrassOffice, nil, "fadein_brass_office" ) function brass_questions() DisplayQuestionList( Brass ) end AddEvent( nil, true, nil, HBrass, nil, "brass_questions" ) AddEvent( nil, true, nil, BrassRoom01, nil, "brass_questions" ) -- Can you get me a warrant/interrogation? function brass_question_TB_Q220() DisplayQuestionList (Warrant) end AddQuestion ( Brass, true, nil, "_TB_Q220", nil, nil, "brass_question_TB_Q220" ) -- Suspect? function brass_question_TB_Q212() -- DisplayQuestionList (WarrantSuspects) if not DisplayQuestionList (WarrantSuspects) then PlayDialog (Brass, "M0_BRASS_1288") end end AddQuestion ( Warrant, true, nil, "_TB_Q212", nil, nil, "brass_question_TB_Q212" ) -- Location? function brass_question_TB_Q218() -- DisplayQuestionList (WarrantLocations) if not DisplayQuestionList (WarrantLocations) then PlayDialog (Brass, "M0_BRASS_1289") end end AddQuestion ( Warrant, true, nil, "_TB_Q218", nil, nil, "brass_question_TB_Q218" ) -- random location ( negativ ) 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 -- random suspects ( negativ ) 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 -- random suspects ( pozitiv ) function play_random_suspect_2nd() 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" )