penley.lua 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. --[[
  2. Script Name : penley.lua
  3. Script Purpose : Waypoint Path for penley.lua
  4. Script Author : Devn00b
  5. Script Date : 04/11/2020 10:02:46 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. dofile("SpawnScripts/Generic/ExpelNonCitizen.lua")
  10. function spawn(NPC)
  11. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  12. waypoints(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. NonCitizen(NPC,Spawn)
  16. end
  17. function waypoints(NPC)
  18. MovementLoopAddLocation(NPC, 410.99, -19.16, -250.17, 2, 0)
  19. MovementLoopAddLocation(NPC, 412.43, -19.13, -251.71, 2, 0)
  20. MovementLoopAddLocation(NPC, 414.61, -19.24, -253.09, 2, 0)
  21. MovementLoopAddLocation(NPC, 416.9, -19.53, -253.02, 2, 0)
  22. MovementLoopAddLocation(NPC, 419.61, -19.97, -251.94, 2, 0)
  23. MovementLoopAddLocation(NPC, 421.34, -20.33, -250.21, 2, 0)
  24. MovementLoopAddLocation(NPC, 422.7, -20.89, -247.26, 2, 0)
  25. MovementLoopAddLocation(NPC, 423.54, -21.44, -244.08, 2, 0)
  26. MovementLoopAddLocation(NPC, 423.3, -21.64, -241.58, 2, 0)
  27. MovementLoopAddLocation(NPC, 421.96, -21.97, -238.46, 2, 0)
  28. MovementLoopAddLocation(NPC, 408.19, -22.94, -217.97, 2, 0)
  29. MovementLoopAddLocation(NPC, 387.65, -24.12, -199.87, 2, 0)
  30. MovementLoopAddLocation(NPC, 371.76, -25.05, -185.84, 2, 0)
  31. MovementLoopAddLocation(NPC, 361.26, -25.38, -177.62, 2, 0)
  32. MovementLoopAddLocation(NPC, 350.47, -25.04, -166.14, 2, 0)
  33. MovementLoopAddLocation(NPC, 338.74, -23.9, -145.22, 2, 0)
  34. MovementLoopAddLocation(NPC, 325.85, -23.63, -120.07, 2, 0)
  35. MovementLoopAddLocation(NPC, 314.08, -23.04, -97.84, 2, 0)
  36. MovementLoopAddLocation(NPC, 303.55, -21.29, -52.51, 2, 0)
  37. MovementLoopAddLocation(NPC, 310.95, -21.41, -36.03, 2, 0)
  38. MovementLoopAddLocation(NPC, 321.2, -21.43, -17.41, 2, 0)
  39. MovementLoopAddLocation(NPC, 316.53, -21.23, -10.71, 2, 0)
  40. MovementLoopAddLocation(NPC, 304.96, -21.13, 1.82, 2, 0)
  41. MovementLoopAddLocation(NPC, 316.53, -21.23, -10.71, 2, 0)
  42. MovementLoopAddLocation(NPC, 321.2, -21.43, -17.41, 2, 0)
  43. MovementLoopAddLocation(NPC, 310.95, -21.41, -36.03, 2, 0)
  44. MovementLoopAddLocation(NPC, 303.55, -21.29, -52.51, 2, 0)
  45. MovementLoopAddLocation(NPC, 314.08, -23.04, -97.84, 2, 0)
  46. MovementLoopAddLocation(NPC, 325.85, -23.63, -120.07, 2, 0)
  47. MovementLoopAddLocation(NPC, 338.74, -23.9, -145.22, 2, 0)
  48. MovementLoopAddLocation(NPC, 350.47, -25.04, -166.14, 2, 0)
  49. MovementLoopAddLocation(NPC, 361.26, -25.38, -177.62, 2, 0)
  50. MovementLoopAddLocation(NPC, 371.76, -25.05, -185.84, 2, 0)
  51. MovementLoopAddLocation(NPC, 387.65, -24.12, -199.87, 2, 0)
  52. MovementLoopAddLocation(NPC, 408.19, -22.94, -217.97, 2, 0)
  53. MovementLoopAddLocation(NPC, 421.96, -21.97, -238.46, 2, 0)
  54. MovementLoopAddLocation(NPC, 423.3, -21.64, -241.58, 2, 0)
  55. MovementLoopAddLocation(NPC, 423.54, -21.44, -244.08, 2, 0)
  56. MovementLoopAddLocation(NPC, 422.7, -20.89, -247.26, 2, 0)
  57. MovementLoopAddLocation(NPC, 421.34, -20.33, -250.21, 2, 0)
  58. MovementLoopAddLocation(NPC, 419.61, -19.97, -251.94, 2, 0)
  59. MovementLoopAddLocation(NPC, 416.9, -19.53, -253.02, 2, 0)
  60. MovementLoopAddLocation(NPC, 414.61, -19.24, -253.09, 2, 0)
  61. MovementLoopAddLocation(NPC, 412.43, -19.13, -251.71, 2, 0)
  62. MovementLoopAddLocation(NPC, 410.99, -19.16, -250.17, 2, 0)
  63. end