dillon.lua 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. --[[
  2. Script Name : dillon.lua
  3. Script Purpose : Waypoint Path for dillon.lua
  4. Script Author : Devn00b
  5. Script Date : 04/10/2020 01:06:06 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. conversation = CreateConversation()
  14. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1004.mp3", "", "", 0, 0, Spawn)
  15. AddConversationOption(conversation, "Nothing.", "dlg_0_1")
  16. StartConversation(conversation, NPC, Spawn, "Excuse me?")
  17. if convo==3 then
  18. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1004.mp3", "", "", 0, 0, Spawn)
  19. AddConversationOption(conversation, "Nothing.", "dlg_3_1")
  20. StartConversation(conversation, NPC, Spawn, "Excuse me?")
  21. end
  22. if convo==4 then
  23. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1004.mp3", "", "", 0, 0, Spawn)
  24. AddConversationOption(conversation, "Nothing.", "dlg_4_1")
  25. StartConversation(conversation, NPC, Spawn, "Excuse me?")
  26. end
  27. if convo==25 then
  28. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1004.mp3", "", "", 0, 0, Spawn)
  29. AddConversationOption(conversation, "Nothing.", "dlg_25_1")
  30. StartConversation(conversation, NPC, Spawn, "Excuse me?")
  31. end
  32. if convo==26 then
  33. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1004.mp3", "", "", 0, 0, Spawn)
  34. AddConversationOption(conversation, "Nothing.", "dlg_26_1")
  35. StartConversation(conversation, NPC, Spawn, "Excuse me?")
  36. end
  37. end
  38. function respawn(NPC)
  39. spawn(NPC)
  40. end
  41. function waypoints(NPC)
  42. MovementLoopAddLocation(NPC, 600.22, -18.07, 236.06, 2, 0)
  43. MovementLoopAddLocation(NPC, 592.73, -18.05, 237.94, 2, 0)
  44. MovementLoopAddLocation(NPC, 583.55, -17.95, 239.05, 2, 0)
  45. MovementLoopAddLocation(NPC, 568.26, -17.75, 240.55, 2, 0)
  46. MovementLoopAddLocation(NPC, 565.64, -17.72, 241.07, 2, 0)
  47. MovementLoopAddLocation(NPC, 560.76, -16.97, 228.14, 2, 0)
  48. MovementLoopAddLocation(NPC, 560.28, -15.13, 213.69, 2, 0)
  49. MovementLoopAddLocation(NPC, 612.83, -15.48, 205.11, 2, 0)
  50. MovementLoopAddLocation(NPC, 679.4, -19.38, 187.64, 2, 0)
  51. MovementLoopAddLocation(NPC, 680.54, -19.27, 192.39, 2, 0)
  52. MovementLoopAddLocation(NPC, 649.22, -17.95, 202.36, 2, 0)
  53. MovementLoopAddLocation(NPC, 611.57, -16.46, 211.89, 2, 0)
  54. MovementLoopAddLocation(NPC, 614.27, -16.46, 228.35, 2, 0)
  55. MovementLoopAddLocation(NPC, 622.97, -17.14, 227.34, 2, 0)
  56. MovementLoopAddLocation(NPC, 632.27, -17.14, 225.55, 2, 0)
  57. MovementLoopAddLocation(NPC, 665.54, -17.95, 215.73, 2, 0)
  58. MovementLoopAddLocation(NPC, 680.64, -17.95, 211.14, 2, 0)
  59. MovementLoopAddLocation(NPC, 665.54, -17.95, 215.73, 2, 0)
  60. MovementLoopAddLocation(NPC, 632.27, -17.14, 225.55, 2, 0)
  61. MovementLoopAddLocation(NPC, 622.97, -17.14, 227.34, 2, 0)
  62. MovementLoopAddLocation(NPC, 614.27, -16.46, 228.35, 2, 0)
  63. MovementLoopAddLocation(NPC, 611.57, -16.46, 211.89, 2, 0)
  64. MovementLoopAddLocation(NPC, 649.22, -17.95, 202.36, 2, 0)
  65. MovementLoopAddLocation(NPC, 680.54, -19.27, 192.39, 2, 0)
  66. MovementLoopAddLocation(NPC, 679.4, -19.38, 187.64, 2, 0)
  67. MovementLoopAddLocation(NPC, 612.83, -15.48, 205.11, 2, 0)
  68. MovementLoopAddLocation(NPC, 560.28, -15.13, 213.69, 2, 0)
  69. MovementLoopAddLocation(NPC, 560.76, -16.97, 228.14, 2, 0)
  70. MovementLoopAddLocation(NPC, 565.64, -17.72, 241.07, 2, 0)
  71. MovementLoopAddLocation(NPC, 568.26, -17.75, 240.55, 2, 0)
  72. MovementLoopAddLocation(NPC, 583.55, -17.95, 239.05, 2, 0)
  73. MovementLoopAddLocation(NPC, 592.73, -18.05, 237.94, 2, 0)
  74. MovementLoopAddLocation(NPC, 600.22, -18.07, 236.06, 2, 0)
  75. end