nathan.lua 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. --[[
  2. Script Name : nathanironforge.lua
  3. Script Purpose : Waypoint Path for nathanironforge.lua
  4. Script Author : Devn00b
  5. Script Date : 04/09/2020 01:25:37 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. waypoints(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. end
  15. function InRange(NPC, Spawn)
  16. local choice = math.random(1,3)
  17. if choice == 1 then
  18. PlayFlavor(NPC, "voiceover/english/human_eco_good_annoyingkid/ft/eco/good/human_eco_good_annoyingkid_cat_gm_fdc32a9.mp3", "Come back here kitty!", "wave", 204283170, 334524744, Spawn)
  19. elseif choice == 2 then
  20. PlayFlavor(NPC, "voiceover/english/human_eco_evil_badkid/ft/eco/evil/human_eco_evil_badkid_pig_gm_9fa4475d.mp3", "Run ya swine. Run!", "wave", 1654188343, 2070658176, Spawn)
  21. elseif choice == 3 then
  22. PlayFlavor(NPC, "voiceover/english/human_eco_good_annoyingkid/ft/eco/good/human_eco_good_annoyingkid_hail_gm_dc9519d6.mp3", "I want to join the Qeynos Guard when I grow up!", "salute", 3878579501, 1793000405, Spawn)
  23. else
  24. local choice = math.random(1,2)
  25. if choice == 1 then
  26. PlayFlavor(NPC, "voiceover/english/human_eco_good_annoyingkid/ft/eco/good/human_eco_good_annoyingkid_hail_gm_5674cc18.mp3", "Have you seen a Gnoll before?", "", 3064755312, 374536170, Spawn)
  27. elseif choice == 2 then
  28. PlayFlavor(NPC, "voiceover/english/human_eco_good_annoyingkid/ft/eco/good/human_eco_good_annoyingkid_hail_gm_110eef44.mp3", "Have you been inside the castle? I want to go there someday!", "smile", 2372987392, 3554768792, Spawn)
  29. else
  30. end
  31. end
  32. end
  33. function LeaveRange(NPC, Spawn)
  34. end
  35. function respawn(NPC)
  36. spawn(NPC)
  37. end
  38. function waypoints(NPC)
  39. MovementLoopAddLocation(NPC, 780.46, -23.28, 81.74, 6, 0)
  40. MovementLoopAddLocation(NPC, 812.79, -23.34, 79.12, 6, 0)
  41. MovementLoopAddLocation(NPC, 832.09, -23.31, 46.9, 6, 0)
  42. MovementLoopAddLocation(NPC, 861.34, -25.37, 42.41, 6, 0)
  43. MovementLoopAddLocation(NPC, 892.74, -25.5, 54.12, 6, 0)
  44. MovementLoopAddLocation(NPC, 864.29, -25.5, 111.67, 6, 0)
  45. MovementLoopAddLocation(NPC, 906.32, -25.37, 7.59, 6, 0)
  46. MovementLoopAddLocation(NPC, 891.37, -25.36, -48.18, 6, 0)
  47. MovementLoopAddLocation(NPC, 862.76, -25.46, -72.81, 6, 0)
  48. MovementLoopAddLocation(NPC, 810.88, -20.4, -61.54, 6, 0)
  49. MovementLoopAddLocation(NPC, 762.83, -21.57, -60.8, 6, 0)
  50. MovementLoopAddLocation(NPC, 762.12, -20.8, -20.16, 6, 0)
  51. MovementLoopAddLocation(NPC, 750.64, -20.93, 4.63, 6, 0)
  52. MovementLoopAddLocation(NPC, 703.9, -21.08, -53.43, 6, 0)
  53. MovementLoopAddLocation(NPC, 731.13, -21.32, -59.2, 6, 0)
  54. MovementLoopAddLocation(NPC, 885.24, -25.36, -61.67, 6, 0)
  55. MovementLoopAddLocation(NPC, 904.09, -25.37, 12.44, 6, 0)
  56. MovementLoopAddLocation(NPC, 950.73, -25.5, 32.34, 6, 0)
  57. MovementLoopAddLocation(NPC, 952.78, -25.5, 20.96, 6, 0)
  58. MovementLoopAddLocation(NPC, 950.73, -25.5, 32.34, 6, 0)
  59. MovementLoopAddLocation(NPC, 904.09, -25.37, 12.44, 6, 0)
  60. MovementLoopAddLocation(NPC, 885.24, -25.36, -61.67, 6, 0)
  61. MovementLoopAddLocation(NPC, 731.13, -21.32, -59.2, 6, 0)
  62. MovementLoopAddLocation(NPC, 703.9, -21.08, -53.43, 6, 0)
  63. MovementLoopAddLocation(NPC, 750.64, -20.93, 4.63, 6, 0)
  64. MovementLoopAddLocation(NPC, 762.12, -20.8, -20.16, 6, 0)
  65. MovementLoopAddLocation(NPC, 762.83, -21.57, -60.8, 6, 0)
  66. MovementLoopAddLocation(NPC, 810.88, -20.4, -61.54, 6, 0)
  67. MovementLoopAddLocation(NPC, 862.76, -25.46, -72.81, 6, 0)
  68. MovementLoopAddLocation(NPC, 891.37, -25.36, -48.18, 6, 0)
  69. MovementLoopAddLocation(NPC, 906.32, -25.37, 7.59, 6, 0)
  70. MovementLoopAddLocation(NPC, 864.29, -25.5, 111.67, 6, 0)
  71. MovementLoopAddLocation(NPC, 892.74, -25.5, 54.12, 6, 0)
  72. MovementLoopAddLocation(NPC, 861.34, -25.37, 42.41, 6, 0)
  73. MovementLoopAddLocation(NPC, 832.09, -23.31, 46.9, 6, 0)
  74. MovementLoopAddLocation(NPC, 812.79, -23.34, 79.12, 6, 0)
  75. MovementLoopAddLocation(NPC, 780.46, -23.28, 81.74, 6, 0)
  76. end