Advertisement
aerhx

Untitled

Oct 21st, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. SelectMission("m0");
  2.  
  3. SetMissionResetPlayerInCar("level1_carstart");
  4. SetDynaLoadData("l1z1.p3d;l1r1.p3d;l1r7.p3d;");
  5.  
  6. UsePedGroup( 0 );
  7.  
  8. AddStage(0);
  9. SetStageMessageIndex(12);
  10. AddObjective("getin", "neither");
  11. SetObjTargetVehicle("current");
  12. CloseObjective();
  13. CloseStage();
  14.  
  15. AddStage(1);
  16. RESET_TO_HERE();
  17. SetHUDIcon( "kwike" );
  18. ShowStageComplete();
  19. SetStageMessageIndex(131);
  20. AddObjective("goto");
  21. SetDestination("m0_kwickemart","carsphere");
  22. SetCollectibleEffect("wrench_collect");
  23. CloseObjective();
  24. CloseStage();
  25.  
  26. AddStage(1);
  27. SetHUDIcon( "kwike" );
  28. SetMaxTraffic(2);
  29. SetStageMessageIndex(102);
  30. AddObjective("interior","neither");
  31. SetDestination("KwikEMart", "kwik_mission_doorstar"); // use name of interiors entry locator
  32. CloseObjective();
  33. CloseStage();
  34.  
  35. AddStage(2);
  36. SetHUDIcon( "apu" );
  37. SetStageMessageIndex(157);
  38. AddObjective("talkto","nearest road");
  39. SetTalkToTarget("apu", 0, -0.3, "3.0"); // 2 - door icon, "3.0" is the size of the NPC trigger area
  40. CloseObjective();
  41. CloseStage();
  42.  
  43. AddStage(3);
  44. AddObjective("dialogue");
  45. SetStageMessageIndex(15,"end");
  46. AmbientAnimationRandomize( 1, 0 ); // ( pc=0, npc=1) (nonrandom=0, random=1)
  47. AmbientAnimationRandomize( 0, 0 );
  48. AddAmbientNpcAnimation( "none" );
  49. AddAmbientNpcAnimation( "dialogue_hands_on_hips" );
  50. AddAmbientNpcAnimation( "none" );
  51. AddAmbientNpcAnimation( "none" );
  52. AddAmbientPcAnimation( "dialogue_shake_hand_in_air" );
  53. AddAmbientPcAnimation( "none" );
  54. AddAmbientPcAnimation( "dialogue_scratch_head" );
  55. AddAmbientPcAnimation( "none" );
  56. //SetConversationCamNpcName("npc_far");
  57. //SetConversationCamPcName("pc_near");
  58. SetDialogueInfo("homer","apu","congrats",0);
  59. CloseObjective();
  60. CloseStage();
  61.  
  62. AddStage("final");
  63. SetHUDIcon( "icecream" );
  64. SetStageMessageIndex(152);
  65. AddObjective("goto");
  66. TurnGotoDialogOff();
  67. SetDestination("m0_cola","icebuck");
  68. CloseObjective();
  69. SetCompletionDialog("congrats2","bart");
  70. CloseStage();
  71.  
  72. CloseMission();
  73.  
  74. //dialogue_hands_in_air
  75. //dialogue_hands_on_hips
  76. //dialogue_scratch_head
  77. //dialogue_shaking_fist
  78. //dialogue_thinking
  79. //dialogue_yes
  80. //dialogue_no
  81. //dialogue_cross_arms
  82. //dialogue_open_arm_hand_gesture
  83. //dialogue_shake_hand_in_air
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement