9
3

gyles.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. --[[
  2. Script Name : icebear.lua
  3. Script Purpose : Waypoint Path for icebear.lua
  4. Script Author : Devn00b
  5. Script Date : 04/15/2020 02:45:21 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  11. waypoints(NPC)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function InRange(NPC, Spawn)
  17. CheckFaction(NPC, Spawn, "Qeynos")
  18. end
  19. function LeaveRange(NPC, Spawn)
  20. end
  21. function hailed(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. GenericGuardHail(NPC, Spawn)
  24. end
  25. function waypoints(NPC)
  26. MovementLoopAddLocation(NPC, 337.5, -21.62, -17.84, 2, 0)
  27. MovementLoopAddLocation(NPC, 327.95, -21.47, -18.3, 2, 0)
  28. MovementLoopAddLocation(NPC, 301.42, -21.15, 2.22, 2, 0)
  29. MovementLoopAddLocation(NPC, 307.82, -21.28, 12.39, 2, 0)
  30. MovementLoopAddLocation(NPC, 316.31, -21.35, 25.73, 2, 0)
  31. MovementLoopAddLocation(NPC, 328.54, -21.46, 34.69, 2, 0)
  32. MovementLoopAddLocation(NPC, 342.6, -21.08, 47.69, 2, 0)
  33. MovementLoopAddLocation(NPC, 351.56, -21.1, 62.44, 2, 0)
  34. MovementLoopAddLocation(NPC, 356.53, -20.81, 86.48, 2, 0)
  35. MovementLoopAddLocation(NPC, 365.55, -20.84, 100.34, 2, 0)
  36. MovementLoopAddLocation(NPC, 383.27, -20.98, 123.01, 2, 0)
  37. MovementLoopAddLocation(NPC, 391.04, -21.3, 133.4, 2, 0)
  38. MovementLoopAddLocation(NPC, 386.84, -20.7, 119.23, 2, 0)
  39. MovementLoopAddLocation(NPC, 412.2, -13.89, 65.74, 2, 0)
  40. MovementLoopAddLocation(NPC, 409.82, -13.77, 57.53, 2, 0)
  41. MovementLoopAddLocation(NPC, 400.59, -14.47, 33.02, 2, 0)
  42. MovementLoopAddLocation(NPC, 393.11, -15.81, 12.92, 2, 0)
  43. MovementLoopAddLocation(NPC, 393.69, -17.09, -23.72, 2, 0)
  44. MovementLoopAddLocation(NPC, 369.04, -20.37, -19.09, 2, 0)
  45. MovementLoopAddLocation(NPC, 338.76, -21.66, -18.13, 2, 0)
  46. end