9
3

MarcusLevidius.lua 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/MarcusLevidius.lua
  3. Script Purpose : Marcus Levidius
  4. Script Author : John Adams
  5. Script Date : 2009.04.05 (18.7.2022 by torsten, waypoints)(New setup 27.11.2023 by Dorbin)
  6. Script Notes :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  11. waypoints(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericEcologyHail(NPC, Spawn, faction)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericEcologyCallout(NPC, Spawn, faction)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, -27.1, -5, 11.44, 2, 1)
  25. MovementLoopAddLocation(NPC, -27.1, -5, 11.44, 2, 30,"EcologyEmotes")
  26. MovementLoopAddLocation(NPC, -26.97, -5, 12.35, 2, 0)
  27. MovementLoopAddLocation(NPC, -29.35, -5, 13.85, 2, 0)
  28. MovementLoopAddLocation(NPC, -27.49, -5, 15.97, 2, 0)
  29. MovementLoopAddLocation(NPC, -22.58, -5, 16.37, 2, 0)
  30. MovementLoopAddLocation(NPC, -15.73, -5, 16.57, 2, 0)
  31. MovementLoopAddLocation(NPC, -11.15, -5.5, 20.23, 2, 0)
  32. MovementLoopAddLocation(NPC, -1.17, -5.5, 22.13, 2, 0)
  33. MovementLoopAddLocation(NPC, 2.35, -5.5, 22.98, 2, 0)
  34. MovementLoopAddLocation(NPC, 5.33, -5.5, 27.74, 2, 0)
  35. MovementLoopAddLocation(NPC, 8.08, -5.5, 30.1, 2, 0)
  36. MovementLoopAddLocation(NPC, 14.44, -5.5, 32.63, 2, 0)
  37. MovementLoopAddLocation(NPC, 20.18, -5.75, 33.33, 2, 0)
  38. MovementLoopAddLocation(NPC, 22.17, -6, 37.28, 2, 1)
  39. MovementLoopAddLocation(NPC, 22.17, -6, 37.28, 2, 30,"EcologyEmotes")
  40. MovementLoopAddLocation(NPC, 22.43, -6, 37.65, 2, 0)
  41. MovementLoopAddLocation(NPC, 22.68, -6, 39.18, 2, 0)
  42. MovementLoopAddLocation(NPC, 21.35, -6, 39.81, 2, 1)
  43. MovementLoopAddLocation(NPC, 21.35, -6, 39.81, 2, 30,"EcologyEmotes")
  44. MovementLoopAddLocation(NPC, 21.35, -6, 39.81, 2, 0)
  45. MovementLoopAddLocation(NPC, 21.76, -6, 42.26, 2, 0)
  46. MovementLoopAddLocation(NPC, 17.62, -6.89, 50.15, 2, 0)
  47. MovementLoopAddLocation(NPC, 16.1, -7, 51.15, 2, 0)
  48. MovementLoopAddLocation(NPC, 3.3, -7, 52.41, 2, 0)
  49. MovementLoopAddLocation(NPC, -4.53, -7, 48.12, 2, 0)
  50. MovementLoopAddLocation(NPC, -10.06, -7, 52.32, 2, 0)
  51. MovementLoopAddLocation(NPC, -14.75, -7, 54.81, 2, 0)
  52. MovementLoopAddLocation(NPC, -14.97, -7, 50.53, 2, 1)
  53. MovementLoopAddLocation(NPC, -14.97, -7, 50.53, 2, 30,"EcologyEmotes")
  54. MovementLoopAddLocation(NPC, -14.97, -7, 50.53, 2, 0)
  55. MovementLoopAddLocation(NPC, -14.67, -7, 52.3, 2, 0)
  56. MovementLoopAddLocation(NPC, -12.68, -7, 53.78, 2, 0)
  57. MovementLoopAddLocation(NPC, -11.17, -7, 51.86, 2, 0)
  58. MovementLoopAddLocation(NPC, -10.36, -7, 44.81, 2, 0)
  59. MovementLoopAddLocation(NPC, -13.84, -7, 39.83, 2, 0)
  60. MovementLoopAddLocation(NPC, -19.36, -7, 36.38, 2, 0)
  61. MovementLoopAddLocation(NPC, -28.54, -5.75, 25.17, 2, 0)
  62. MovementLoopAddLocation(NPC, -34.48, -5.5, 18.8, 2, 0)
  63. MovementLoopAddLocation(NPC, -34.48, -5.5, 18.8, 2, 1)
  64. MovementLoopAddLocation(NPC, -34.48, -5.5, 18.8, 2, 20,"EcologyEmotes")
  65. MovementLoopAddLocation(NPC, -28.54, -5.75, 25.17, 2, 0)
  66. MovementLoopAddLocation(NPC, -19.36, -7, 36.38, 2, 0)
  67. MovementLoopAddLocation(NPC, -13.84, -7, 39.83, 2, 0)
  68. MovementLoopAddLocation(NPC, -10.36, -7, 44.81, 2, 0)
  69. MovementLoopAddLocation(NPC, -11.17, -7, 51.86, 2, 0)
  70. MovementLoopAddLocation(NPC, -12.68, -7, 53.78, 2, 0)
  71. MovementLoopAddLocation(NPC, -14.67, -7, 52.3, 2, 0)
  72. MovementLoopAddLocation(NPC, -14.97, -7, 50.53, 2, 0)
  73. MovementLoopAddLocation(NPC, -14.97, -7, 50.53, 2, 1)
  74. MovementLoopAddLocation(NPC, -14.97, -7, 50.53, 2, 30,"EcologyEmotes")
  75. MovementLoopAddLocation(NPC, -14.75, -7, 54.81, 2, 0)
  76. MovementLoopAddLocation(NPC, -10.06, -7, 52.32, 2, 0)
  77. MovementLoopAddLocation(NPC, -4.53, -7, 48.12, 2, 0)
  78. MovementLoopAddLocation(NPC, 3.3, -7, 52.41, 2, 0)
  79. MovementLoopAddLocation(NPC, 16.1, -7, 51.15, 2, 0)
  80. MovementLoopAddLocation(NPC, 17.62, -6.89, 50.15, 2, 0)
  81. MovementLoopAddLocation(NPC, 21.76, -6, 42.26, 2, 0)
  82. MovementLoopAddLocation(NPC, 21.35, -6, 39.81, 2, 0)
  83. MovementLoopAddLocation(NPC, 21.35, -6, 39.81, 2, 1)
  84. MovementLoopAddLocation(NPC, 21.35, -6, 39.81, 2, 30,"EcologyEmotes")
  85. MovementLoopAddLocation(NPC, 22.68, -6, 39.18, 2, 0)
  86. MovementLoopAddLocation(NPC, 22.43, -6, 37.65, 2, 0)
  87. MovementLoopAddLocation(NPC, 22.17, -6, 37.28, 2, 1)
  88. MovementLoopAddLocation(NPC, 22.17, -6, 37.28, 2, 30,"EcologyEmotes")
  89. MovementLoopAddLocation(NPC, 20.18, -5.75, 33.33, 2, 0)
  90. MovementLoopAddLocation(NPC, 14.44, -5.5, 32.63, 2, 0)
  91. MovementLoopAddLocation(NPC, 8.08, -5.5, 30.1, 2, 0)
  92. MovementLoopAddLocation(NPC, 5.33, -5.5, 27.74, 2, 0)
  93. MovementLoopAddLocation(NPC, 2.35, -5.5, 22.98, 2, 0)
  94. MovementLoopAddLocation(NPC, -1.17, -5.5, 22.13, 2, 0)
  95. MovementLoopAddLocation(NPC, -11.15, -5.5, 20.23, 2, 0)
  96. MovementLoopAddLocation(NPC, -15.73, -5, 16.57, 2, 0)
  97. MovementLoopAddLocation(NPC, -22.58, -5, 16.37, 2, 0)
  98. MovementLoopAddLocation(NPC, -27.49, -5, 15.97, 2, 0)
  99. MovementLoopAddLocation(NPC, -29.35, -5, 13.85, 2, 0)
  100. MovementLoopAddLocation(NPC, -26.97, -5, 12.35, 2, 0)
  101. end