asewagerat392404.lua 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asewagerat392404.lua
  3. Script Purpose : Waypoint Path for asewagerat392404.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:46:59
  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. end
  14. function respawn(NPC)
  15. end
  16. function waypoints(NPC)
  17. MovementLoopAddLocation(NPC, -181.54, 0.24, 209.21, 2, math.random(10, 18), "changegrid_Going_Down")
  18. MovementLoopAddLocation(NPC, -182.04, 0.01, 213.34, 2, 0, "changegrid_Going_Up")
  19. MovementLoopAddLocation(NPC, -181.56, 0.05, 214.68, 2, math.random(10, 18))
  20. MovementLoopAddLocation(NPC, -178.30, 0.09, 217.65, 2, 0)
  21. MovementLoopAddLocation(NPC, -175.81, 0.00, 217.68, 2, math.random(10, 18))
  22. MovementLoopAddLocation(NPC, -170.88, 0.00, 217.22, 2, 0)
  23. MovementLoopAddLocation(NPC, -169.17, 0.00, 216.16, 2, math.random(10, 18))
  24. MovementLoopAddLocation(NPC, -170.51, 0.00, 216.84, 2, math.random(10, 18))
  25. MovementLoopAddLocation(NPC, -177.36, 0.00, 216.71, 2, 0)
  26. MovementLoopAddLocation(NPC, -179.58, 0.00, 215.82, 2, math.random(10, 18))
  27. MovementLoopAddLocation(NPC, -179.66, 0.00, 213.80, 2, 0)
  28. MovementLoopAddLocation(NPC, -181.72, 0.24, 209.49, 2, 0, "changegrid_Going_Down")
  29. MovementLoopAddLocation(NPC, -181.47, 0.00, 207.04, 2, 0)
  30. MovementLoopAddLocation(NPC, -181.50, 0.00, 207.00, 2, math.random(10, 18))
  31. MovementLoopAddLocation(NPC, -181.96, 0.00, 206.03, 2, 0)
  32. MovementLoopAddLocation(NPC, -183.05, 0.00, 202.19, 2, math.random(10, 18))
  33. MovementLoopAddLocation(NPC, -182.68, 0.00, 205.07, 2, 0)
  34. MovementLoopAddLocation(NPC, -180.25, 0.15, 208.05, 2, 0)
  35. MovementLoopAddLocation(NPC, -180.53, 0.01, 211.98, 2, 0, "changegrid_Going_Up")
  36. MovementLoopAddLocation(NPC, -178.87, 0.00, 214.17, 2, 0)
  37. MovementLoopAddLocation(NPC, -175.89, 0.08, 215.14, 2, 0)
  38. MovementLoopAddLocation(NPC, -174.73, 0.00, 216.27, 2, 0)
  39. MovementLoopAddLocation(NPC, -173.57, 0.00, 216.15, 2, math.random(10, 18))
  40. MovementLoopAddLocation(NPC, -176.67, 0.02, 215.36, 2, 0)
  41. MovementLoopAddLocation(NPC, -177.67, 0.06, 214.36, 2, 0)
  42. MovementLoopAddLocation(NPC, -178.35, 0.26, 211.89, 2, math.random(10, 18))
  43. end
  44. --------------------------------------------------------------------------------------
  45. -- NPC Change Grid
  46. --------------------------------------------------------------------------------------
  47. function changegrid_Going_Up(NPC)
  48. SetGridID(NPC, 3053675711)
  49. end
  50. function changegrid_Going_Down(NPC)
  51. SetGridID(NPC, 1555937977)
  52. end