ward.lua 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : ward.lua
  3. Script Purpose : Waypoint Path for ward.lua
  4. Script Author : Devn00b
  5. Script Date : 04/11/2020 07:14:21 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. local choice = math.random(1,2)
  14. if choice == 1 then
  15. PlayFlavor(NPC, "voiceover/english/human_eco_good_barmaid/ft/eco/good/human_eco_good_barmaid_hail_gf_619dfe80.mp3", "Its always hard to keep everyone happy around here. There's always someone whose thirsty or needs a mess cleaned.", "shrug", 3234664124, 1293275447, Spawn)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "voiceover/english/human_eco_good_barmaid/ft/eco/good/human_eco_good_barmaid_hail_gf_bdae1710.mp3", "With so many refugees pouring in I can't keep track of what everyone's favorite brew is.", "confused", 1663138042, 4048896728, Spawn)
  18. end
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 516.21, -9.57, 127.12, 2, 0)
  25. MovementLoopAddLocation(NPC, 520.3, -9.56, 131.57, 2, 0)
  26. MovementLoopAddLocation(NPC, 528.81, -9.56, 132.14, 2, 0)
  27. MovementLoopAddLocation(NPC, 539.78, -9.56, 130.42, 2, 0)
  28. MovementLoopAddLocation(NPC, 546.81, -8.54, 130.56, 2, 0)
  29. MovementLoopAddLocation(NPC, 546.72, -6.55, 121.26, 2, 0)
  30. MovementLoopAddLocation(NPC, 541.75, -5.55, 121.25, 2, 0)
  31. MovementLoopAddLocation(NPC, 541.86, -3.5, 127.97, 2, 0)
  32. MovementLoopAddLocation(NPC, 530.14, -3.5, 128.28, 2, 0)
  33. MovementLoopAddLocation(NPC, 511.74, -3.48, 126.13, 2, 0)
  34. MovementLoopAddLocation(NPC, 530.14, -3.5, 128.28, 2, 0)
  35. MovementLoopAddLocation(NPC, 541.86, -3.5, 127.97, 2, 0)
  36. MovementLoopAddLocation(NPC, 541.75, -5.55, 121.25, 2, 0)
  37. MovementLoopAddLocation(NPC, 546.72, -6.55, 121.26, 2, 0)
  38. MovementLoopAddLocation(NPC, 546.81, -8.54, 130.56, 2, 0)
  39. MovementLoopAddLocation(NPC, 539.78, -9.56, 130.42, 2, 0)
  40. MovementLoopAddLocation(NPC, 528.81, -9.56, 132.14, 2, 0)
  41. MovementLoopAddLocation(NPC, 520.3, -9.56, 131.57, 2, 0)
  42. MovementLoopAddLocation(NPC, 516.21, -9.57, 127.12, 2, 0)
  43. end