SolomenStormwatch.lua 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/SolomenStormwatch.lua
  3. Script Purpose : Solomen Stormwatch
  4. Script Author : John Adams
  5. Script Date : 2008.09.28
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function hailed(NPC, Spawn)
  9. FaceTarget(NPC, Spawn)
  10. choice = math.random(1,3)
  11. if choice == 1 then
  12. PlayFlavor(NPC, "", "To be among the highest leaves and branches of a tree is to feel free.", "", 1689589577, 4560189, Spawn)
  13. elseif choice == 2 then
  14. PlayFlavor(NPC, "", "I too long for my home in Faydark. Someday I am sure Tunare will answer us.", "", 1689589577, 4560189, Spawn)
  15. elseif choice == 3 then
  16. PlayFlavor(NPC, "", "The city is not the most beautiful place in Norrath, but it is at least familiar.", "", 1689589577, 4560189, Spawn)
  17. else
  18. end
  19. end
  20. function spawn(NPC)
  21. waypoints(NPC)
  22. end
  23. function hailed(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. end
  26. function respawn(NPC)
  27. end
  28. function waypoints(NPC)
  29. MovementLoopAddLocation(NPC, 777.54, -21.87, -343.22, 2, math.random(0,20))
  30. MovementLoopAddLocation(NPC, 772.62, -18.87, -330.06, 2, 0)
  31. MovementLoopAddLocation(NPC, 740.87, -16.36, -299.49, 2, 0)
  32. MovementLoopAddLocation(NPC, 732.93, -17.04, -292.62, 2, 0)
  33. MovementLoopAddLocation(NPC, 722.48, -17.15, -283.36, 2, 0)
  34. MovementLoopAddLocation(NPC, 652.64, -18.32, -241.32, 2, 0)
  35. MovementLoopAddLocation(NPC, 651.35, -21.59, -292.71, 2, 0)
  36. MovementLoopAddLocation(NPC, 642.38, -13.12, -368.42, 2, 0)
  37. MovementLoopAddLocation(NPC, 650.67, -11.5, -392.98, 2, 0)
  38. MovementLoopAddLocation(NPC, 639.35, -12.48, -397.18, 2, 0)
  39. MovementLoopAddLocation(NPC, 618.26, -15.59, -401.83, 2, 0)
  40. MovementLoopAddLocation(NPC, 603.65, -17.89, -390.81, 2, math.random(0,20))
  41. MovementLoopAddLocation(NPC, 618.26, -15.59, -401.83, 2, 0)
  42. MovementLoopAddLocation(NPC, 639.35, -12.48, -397.18, 2, 0)
  43. MovementLoopAddLocation(NPC, 650.67, -11.5, -392.98, 2, 0)
  44. MovementLoopAddLocation(NPC, 642.38, -13.12, -368.42, 2, 0)
  45. MovementLoopAddLocation(NPC, 651.35, -21.59, -292.71, 2, 0)
  46. MovementLoopAddLocation(NPC, 652.64, -18.32, -241.32, 2, 0)
  47. MovementLoopAddLocation(NPC, 722.48, -17.15, -283.36, 2, 0)
  48. MovementLoopAddLocation(NPC, 732.93, -17.04, -292.62, 2, 0)
  49. MovementLoopAddLocation(NPC, 740.87, -16.36, -299.49, 2, 0)
  50. MovementLoopAddLocation(NPC, 772.62, -18.87, -330.06, 2, 0)
  51. MovementLoopAddLocation(NPC, 777.54, -21.87, -343.22, 2, math.random(0,20))
  52. end