CaptainMolacus.lua 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. --[[
  2. Script Name : SpawnScripts/TempleSt/CaptainMolacus.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.10.23 05:10:00
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. -- waypoints(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. Dialog3(NPC, Spawn)
  14. end
  15. function Dialog1(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. Dialog.New(NPC, Spawn)
  18. Dialog.AddDialog("If what you say is true, then the agent's death will be of little consequence. However, if you have compromised our position, you will pay to the fullest extent of the law for your obstruction.")
  19. Dialog.AddVoiceover("voiceover/english/captain_molacus/fprt_hood03/quests/captainmolacus/lordbounty_captainmolacus_x1_initial2.mp3", 3062246809, 1928262327)
  20. Dialog.AddOption("I think Lord Darkblade's head will be sufficient proof.")
  21. Dialog.Start()
  22. end
  23. function Dialog2(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. Dialog.New(NPC, Spawn)
  26. Dialog.AddDialog("Move along - you wouldn't want us to arrest you for loitering, would you?")
  27. Dialog.AddVoiceover("voiceover/english/captain_molacus/fprt_hood03/guard_captain_molacus_hail.mp3", 1657379715, 3189650077)
  28. Dialog.AddOption("Nope, I sure wouldn't.")
  29. Dialog.Start()
  30. end
  31. function Dialog3(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. Dialog.New(NPC, Spawn)
  34. Dialog.AddDialog("Move along - you wouldn't want us to arrest you for loitering, would you?")
  35. Dialog.AddVoiceover("voiceover/english/captain_molacus/fprt_hood03/guard_captain_molacus_hail.mp3", 1657379715, 3189650077)
  36. -- Dialog.AddOption("I have fulfilled the mission to kill Lord Darkblade.", "Dialog4")
  37. Dialog.AddOption("Nope, I sure wouldn't.")
  38. Dialog.Start()
  39. end
  40. function Dialog4(NPC, Spawn)
  41. FaceTarget(NPC, Spawn)
  42. Dialog.New(NPC, Spawn)
  43. Dialog.AddDialog("What are you talking about, citizen? If you value your freedom, you had better explain yourself quickly.")
  44. Dialog.AddVoiceover("voiceover/english/captain_molacus/fprt_hood03/quests/captainmolacus/lordbounty_captainmolacus_x1_initial.mp3", 1461056082, 1946417825)
  45. Dialog.AddOption("Your agent is dead. I found his mission and completed it.", "Dialog1")
  46. Dialog.Start()
  47. end
  48. function respawn(NPC)
  49. spawn(NPC)
  50. end
  51. function waypoints(NPC)
  52. MovementLoopAddLocation(NPC, 5.9, 2.92, 34.72, 2, 25)
  53. MovementLoopAddLocation(NPC, 21.31, 2.92, 25.84, 2, 0)
  54. MovementLoopAddLocation(NPC, 33.73, 2.92, 15.95, 2, 25)
  55. MovementLoopAddLocation(NPC, 26.42, 2.92, 22.19, 2, 0)
  56. MovementLoopAddLocation(NPC, 24.6, 2.92, 32.3, 2, 25)
  57. MovementLoopAddLocation(NPC, 23.49, 2.92, 30.63, 2, 0)
  58. MovementLoopAddLocation(NPC, 4.26, 2.92, 32.36, 2, 0)
  59. MovementLoopAddLocation(NPC, 4.26, 2.92, 32.36, 2, 25)
  60. MovementLoopAddLocation(NPC, 9.11, 2.92, 31.25, 2, 0)
  61. MovementLoopAddLocation(NPC, 22.83, 2.92, 34.03, 2, 25)
  62. MovementLoopAddLocation(NPC, 21.81, 2.92, 31.83, 2, 0)
  63. MovementLoopAddLocation(NPC, 32.32, 2.92, 10.48, 2, 1)
  64. MovementLoopAddLocation(NPC, 32.32, 2.92, 10.48, 2, 25)
  65. MovementLoopAddLocation(NPC, 20.39, 2.92, 25.93, 2, 0)
  66. end