Oakhall.lua 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : Bilur.lua
  3. Script Purpose : Waypoint Path for Bilur.lua
  4. Script Author : Devn00b
  5. Script Date : 04/09/2020 01:10:38 AM
  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_1/ft/service/guard/human_guard_service_good_1_hail_gm_ee473c11.mp3", "Good day to you, citizen. All preserve Queen Antonia.", "salute", 2997871263, 2912813719, Spawn)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/service/guard/human_guard_service_good_1_hail_gm_ebfceda5.mp3", "Greetings, citizen. I am on guard duty. Should you get into trouble, seek me out.", "attention", 1945337199, 2685949436, Spawn)
  18. else
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end
  24. function waypoints(NPC)
  25. MovementLoopAddLocation(NPC, 802.60, -20.97, 136.78, 2, 20)
  26. MovementLoopAddLocation(NPC, 817.09, -23.31, 82.45, 2, 0)
  27. MovementLoopAddLocation(NPC, 833.86, -23.31, 44.3, 2, 0)
  28. MovementLoopAddLocation(NPC, 858.41, -25.37, 40.72, 2, 0)
  29. MovementLoopAddLocation(NPC, 911.08, -25.39, 37.14, 2, 0)
  30. MovementLoopAddLocation(NPC, 901.46, -25.37, -20.28, 2, 0)
  31. MovementLoopAddLocation(NPC, 893.95, -25.34, -48.41, 2, 0)
  32. MovementLoopAddLocation(NPC, 862.91, -25.43, -73.88, 2, 30)
  33. MovementLoopAddLocation(NPC, 893.95, -25.34, -48.41, 2, 0)
  34. MovementLoopAddLocation(NPC, 901.46, -25.37, -20.28, 2, 0)
  35. MovementLoopAddLocation(NPC, 911.08, -25.39, 37.14, 2, 0)
  36. MovementLoopAddLocation(NPC, 858.41, -25.37, 40.72, 2, 0)
  37. MovementLoopAddLocation(NPC, 833.86, -23.31, 44.3, 2, 0)
  38. MovementLoopAddLocation(NPC, 817.09, -23.31, 82.45, 2, 0)
  39. MovementLoopAddLocation(NPC, 802.60, -20.97, 136.78, 2, 20)
  40. end