9
3

ward.lua 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. if GetFactionAmount(Spawn,11)<0 then
  14. FactionChecking(NPC, Spawn, faction)
  15. else
  16. FaceTarget(NPC, Spawn)
  17. local choice = math.random(1,2)
  18. if choice == 1 then
  19. 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)
  20. elseif choice == 2 then
  21. 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)
  22. end
  23. end
  24. end
  25. function respawn(NPC)
  26. spawn(NPC)
  27. end
  28. function waypoints(NPC)
  29. MovementLoopAddLocation(NPC, 516.21, -9.57, 127.12, 2, 0)
  30. MovementLoopAddLocation(NPC, 520.3, -9.56, 131.57, 2, 0)
  31. MovementLoopAddLocation(NPC, 528.81, -9.56, 132.14, 2, 0)
  32. MovementLoopAddLocation(NPC, 539.78, -9.56, 130.42, 2, 0)
  33. MovementLoopAddLocation(NPC, 546.81, -8.54, 130.56, 2, 0)
  34. MovementLoopAddLocation(NPC, 554.46, -9.56, 130.08, 2, 0)
  35. MovementLoopAddLocation(NPC, 556.87, -9.56, 127.79, 2, 1)
  36. MovementLoopAddLocation(NPC, 556.87, -9.56, 127.79, 2, 11,"EcologyEmotes")
  37. MovementLoopAddLocation(NPC, 554.46, -9.56, 130.08, 2, 0)
  38. MovementLoopAddLocation(NPC, 546.81, -8.54, 130.56, 2, 0)
  39. MovementLoopAddLocation(NPC, 546.72, -6.55, 121.26, 2, 0)
  40. MovementLoopAddLocation(NPC, 541.75, -5.55, 121.25, 2, 0)
  41. MovementLoopAddLocation(NPC, 541.86, -3.5, 127.97, 2, 0)
  42. MovementLoopAddLocation(NPC, 530.14, -3.5, 128.28, 2, 0)
  43. MovementLoopAddLocation(NPC, 511.74, -3.48, 126.13, 2, 1)
  44. MovementLoopAddLocation(NPC, 511.74, -3.48, 126.13, 2, 11,"EcologyEmotes")
  45. MovementLoopAddLocation(NPC, 530.14, -3.5, 128.28, 2, 0)
  46. MovementLoopAddLocation(NPC, 541.86, -3.5, 127.97, 2, 0)
  47. MovementLoopAddLocation(NPC, 541.75, -5.55, 121.25, 2, 0)
  48. MovementLoopAddLocation(NPC, 546.72, -6.55, 121.26, 2, 0)
  49. MovementLoopAddLocation(NPC, 546.81, -8.54, 130.56, 2, 0)
  50. MovementLoopAddLocation(NPC, 539.78, -9.56, 130.42, 2, 0)
  51. MovementLoopAddLocation(NPC, 528.81, -9.56, 132.14, 2, 0)
  52. MovementLoopAddLocation(NPC, 520.3, -9.56, 131.57, 2, 0)
  53. MovementLoopAddLocation(NPC, 516.21, -9.57, 127.12, 2, 1)
  54. MovementLoopAddLocation(NPC, 516.21, -9.57, 127.12, 2, 11,"EcologyEmtoes")
  55. end