SelectMission("sr1"); //The TIME TRIAL //Script set up for multiple laps SetAnimatedCameraName( "race1camShape" ); SetAnimCamMulticontName( "race1cam" ); SetMissionResetPlayerInCar("sr1_carstart"); SetDynaLoadData("l4z4.p3d;l4r4a.p3d;l4r4b.p3d;l4r3.p3d;"); UsePedGroup(4); //Chuck: StreetRace Prop Load and Unload Setup StreetRacePropsLoad("l4_sr1p.p3d;"); StreetRacePropsUnload("l4_sr1p.p3d:"); AddStage(0); SetHUDIcon( "race" ); DisableHitAndRun(); PlacePlayerCar("current", "sr1_carstart"); PutMFPlayerInCar( ); // This makes the play auto reset into their car for this stage. StartCountdown("count","patty"); AddToCountdownSequence( "!!!", 8500 ); // duration time in milliseconds AddToCountdownSequence( "3", 1000 ); // duration time in milliseconds AddToCountdownSequence( "2", 1000 ); // duration time in milliseconds AddToCountdownSequence( "!!!", 3000 ); // duration time in milliseconds AddToCountdownSequence( "1", 1000 ); // duration time in milliseconds AddToCountdownSequence( "GO", 400 ); // duration time in milliseconds SetStageMessageIndex(222); NoTrafficForStage(); SetStageTime(130); RESET_TO_HERE(); AddObjective( "race","neither"); AddNPC("patty", "sr1_patty"); AddNPC("selma", "sr1_selma"); //AddCollectible("sr1_waypoint1"); //AddCollectible("sr1_waypoint2"); AddCollectible("sr1_waypoint3","carsphere"); SetCollectibleEffect("wrench_collect"); AddCollectible("sr1_waypoint4","carsphere"); SetCollectibleEffect("wrench_collect"); AddCollectible("sr1_waypoint5","carsphere"); SetCollectibleEffect("wrench_collect"); SetRaceLaps(3); CloseObjective(); AddCondition("timeout"); CloseCondition(); AddCondition( "damage" ); SetCondMinHealth( 0.0 ); SetCondTargetVehicle( "current"); CloseCondition(); AddCondition("outofvehicle"); SetCondTime( 10000 ); CloseCondition(); CloseStage(); AddStage(1,"final"); AddObjective("dialogue"); AddNPC("patty", "sr1_patty"); AddNPC("selma", "sr1_selma"); //AmbientAnimationRandomize( 1, 0 ); // ( pc=0, npc=1) (nonrandom=0, random=1) //AmbientAnimationRandomize( 0, 0 ); <<<===--- ASK IAN ABOUT THIS COMMAND //AddAmbientNpcAnimation( "dialogue_open_arm_hand_gesture" ); //AddAmbientNpcAnimation( "none" ); //AddAmbientNpcAnimation( "dialogue_thinking" ); //AddAmbientPcAnimation( "none" ); //AddAmbientPcAnimation( "dialogue_yes" ); //AddAmbientPcAnimation( "none" ); //AddAmbientPcAnimation( "dialogue_hands_in_air" ); //SetConversationCam( 3, "pc_far" ); //SetConversationCamNpcName("npc_near"); //SetConversationCamPcName("pc_near"); <<<===--- ASK IAN ABOUT THIS COMMAND. SetDialogueInfo("patty","marge","success",0); SetDialoguePositions("sr1_patty","sr1_marge","sr1_carstart"); CloseObjective(); CloseStage(); CloseMission();