9
3

GolanPanicward.lua 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. --[[
  2. Script Name : SpawnScripts/Graystone/GolanPanicward.lua
  3. Script Purpose : Golan Panicward
  4. Script Author : John Adams/Scatman/Jabantiz
  5. Script Date : 2008.09.21
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. MovementLoopAddLocation(NPC, 897.25, -22.61, -100.86, 2, 0)
  10. MovementLoopAddLocation(NPC, 900.33, -22.36, -106.33, 2, 0)
  11. MovementLoopAddLocation(NPC, 902.31, -22.3, -112.29, 2, 10, "FaceStone")
  12. MovementLoopAddLocation(NPC, 900.97, -22.31, -115.43, 2, 0)
  13. MovementLoopAddLocation(NPC, 898.34, -22.32, -119.24, 2, 0)
  14. MovementLoopAddLocation(NPC, 896.53, -22.46, -124.49, 2, 0)
  15. MovementLoopAddLocation(NPC, 895.65, -22.48, -130.99, 2, 0)
  16. MovementLoopAddLocation(NPC, 892.92, -22.61, -136.48, 2, 0)
  17. MovementLoopAddLocation(NPC, 887.66, -22.21, -137.06, 2, 0)
  18. MovementLoopAddLocation(NPC, 881.79, -22.21, -140.53, 2, 0)
  19. MovementLoopAddLocation(NPC, 877.09, -22.21, -145.92, 2, 0)
  20. MovementLoopAddLocation(NPC, 865.75, -22.21, -148.23, 2, 10)
  21. MovementLoopAddLocation(NPC, 865.72, -22.5, -151.71, 2, 0)
  22. MovementLoopAddLocation(NPC, 861.1, -23.27, -151.98, 2, 0)
  23. MovementLoopAddLocation(NPC, 855.63, -24.24, -151.78, 2, 0)
  24. MovementLoopAddLocation(NPC, 852.81, -24.12, -147.26, 2, 0)
  25. MovementLoopAddLocation(NPC, 850.67, -23.08, -147.17, 2, 0)
  26. MovementLoopAddLocation(NPC, 848.2, -22.35, -147.01, 2, 0)
  27. MovementLoopAddLocation(NPC, 844.73, -22.49, -143.91, 2, 0)
  28. MovementLoopAddLocation(NPC, 842.99, -21.61, -143.39, 2, 0)
  29. MovementLoopAddLocation(NPC, 841.07, -20.86, -142.96, 2, 0)
  30. MovementLoopAddLocation(NPC, 836.9, -20.93, -143.56, 2, 0)
  31. MovementLoopAddLocation(NPC, 833.3, -20.93, -143.42, 2, 10)
  32. MovementLoopAddLocation(NPC, 833.14, -20.93, -139.68, 2, 0)
  33. MovementLoopAddLocation(NPC, 835.57, -20.93, -135.04, 2, 0)
  34. MovementLoopAddLocation(NPC, 838.23, -20.93, -130.37, 2, 0)
  35. MovementLoopAddLocation(NPC, 834.81, -20.93, -125.75, 2, 0)
  36. MovementLoopAddLocation(NPC, 834.59, -20.97, -122.12, 2, 0)
  37. MovementLoopAddLocation(NPC, 834.97, -20.9, -117.55, 2, 0)
  38. MovementLoopAddLocation(NPC, 837.63, -20.74, -115.58, 2, 0)
  39. MovementLoopAddLocation(NPC, 840.33, -21.69, -116.32, 2, 0)
  40. MovementLoopAddLocation(NPC, 842.43, -22.72, -118.97, 2, 0)
  41. MovementLoopAddLocation(NPC, 844.62, -22.8, -121.65, 2, 10)
  42. MovementLoopAddLocation(NPC, 845.72, -22.67, -117.15, 2, 0)
  43. MovementLoopAddLocation(NPC, 845.78, -22.95, -111.79, 2, 0)
  44. MovementLoopAddLocation(NPC, 847.22, -23.15, -108.4, 2, 0)
  45. MovementLoopAddLocation(NPC, 849.93, -23.89, -107.18, 2, 0)
  46. MovementLoopAddLocation(NPC, 853.28, -24.96, -105.86, 2, 0)
  47. MovementLoopAddLocation(NPC, 866.22, -24.97, -102.99, 2, 0)
  48. MovementLoopAddLocation(NPC, 879.33, -24.95, -100.31, 2, 0)
  49. MovementLoopAddLocation(NPC, 882.84, -23.48, -99.63, 2, 0)
  50. MovementLoopAddLocation(NPC, 885.95, -22.05, -99.03, 2, 0)
  51. MovementLoopAddLocation(NPC, 889.06, -22.27, -101.34, 2, 0)
  52. MovementLoopAddLocation(NPC, 891.2, -22.3, -107.62, 2, 0)
  53. MovementLoopAddLocation(NPC, 895.77, -22.37, -108.66, 2, 0)
  54. MovementLoopAddLocation(NPC, 896.51, -22.37, -105.48, 2, 0)
  55. MovementLoopAddLocation(NPC, 896.03, -22.61, -102.33, 2, 0)
  56. MovementLoopAddLocation(NPC, 893.32, -22.61, -98.13, 2, 0)
  57. MovementLoopAddLocation(NPC, 891.33, -22.61, -94.38, 2, 10)
  58. end
  59. function respawn(NPC)
  60. spawn(NPC)
  61. end
  62. function hailed(NPC, Spawn)
  63. RandomTalk(NPC, Spawn, false)
  64. end
  65. function RandomTalk(NPC, Spawn, Option)
  66. local choice = 0
  67. if Option == nil then
  68. choice = math.random(1, 100)
  69. end
  70. if choice < 25 then
  71. FaceTarget(NPC, Spawn)
  72. local choice = math.random(1, 4)
  73. if choice == 1 then
  74. PlayFlavor(NPC, "", "Haha, I saw you! I'm not one to fall for the same thing three times.", "", 1689589577, 4560189, Spawn)
  75. elseif choice == 2 then
  76. PlayFlavor(NPC, "", "Ah, what I wouldn't give to cradle a mug of good Dwarven Ale just now.", "", 1689589577, 4560189, Spawn)
  77. elseif choice == 3 then
  78. PlayFlavor(NPC, "", "A hard day of adventuring makes one long for home, don't it?", "", 1689589577, 4560189, Spawn)
  79. else
  80. PlayFlavor(NPC, "", "Only elves would build a city high up in the trees without any railing!", "", 1689589577, 4560189, Spawn)
  81. end
  82. end
  83. end
  84. function FaceStone(NPC)
  85. SpawnSet(NPC, "heading", "52.65")
  86. end