9
3

asewagerat392433.lua 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asewagerat392433.lua
  3. Script Purpose : Waypoint Path for asewagerat392433.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 04:45:36
  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.58, 0.00, 104.38, 2, math.random(10, 18))
  18. MovementLoopAddLocation(NPC, -183.20, 0.04, 98.20, 2, math.random(10, 18))
  19. MovementLoopAddLocation(NPC, -182.75, 0.43, 100.60, 2, 0)
  20. MovementLoopAddLocation(NPC, -182.85, 0.00, 104.05, 2, math.random(10, 18))
  21. MovementLoopAddLocation(NPC, -182.01, 0.28, 102.08, 2, 0)
  22. MovementLoopAddLocation(NPC, -181.67, 0.27, 99.72, 2, 0)
  23. MovementLoopAddLocation(NPC, -179.45, 0.28, 96.98, 2, 0)
  24. MovementLoopAddLocation(NPC, -178.80, 0.25, 95.55, 2, 0)
  25. MovementLoopAddLocation(NPC, -177.43, 0.28, 94.44, 2, 0)
  26. MovementLoopAddLocation(NPC, -176.86, 0.22, 93.44, 2, 0)
  27. MovementLoopAddLocation(NPC, -173.61, 0.11, 91.65, 2, 0, "changegrid_Going_Down")
  28. MovementLoopAddLocation(NPC, -170.66, 0.05, 90.98, 2, math.random(10, 18))
  29. MovementLoopAddLocation(NPC, -172.95, 0.06, 91.11, 2, 0)
  30. MovementLoopAddLocation(NPC, -174.91, 0.39, 92.79, 2, 0)
  31. MovementLoopAddLocation(NPC, -177.19, 0.14, 93.15, 2, 0, "changegrid_Going_Up")
  32. MovementLoopAddLocation(NPC, -179.91, 0.13, 95.97, 2, 0)
  33. MovementLoopAddLocation(NPC, -181.83, 0.28, 99.91, 2, math.random(10, 18))
  34. MovementLoopAddLocation(NPC, -179.78, 0.05, 93.09, 2, math.random(10, 18))
  35. MovementLoopAddLocation(NPC, -173.00, 0.05, 90.99, 2, math.random(10, 18), "changegrid_Going_Down")
  36. MovementLoopAddLocation(NPC, -175.11, 0.42, 92.91, 2, 0, "changegrid_Going_Up")
  37. MovementLoopAddLocation(NPC, -176.95, 0.18, 93.18, 2, 0)
  38. MovementLoopAddLocation(NPC, -179.71, 0.13, 95.73, 2, 0)
  39. MovementLoopAddLocation(NPC, -181.85, 0.27, 99.68, 2, 0)
  40. end
  41. --------------------------------------------------------------------------------------
  42. -- NPC Change Grid
  43. --------------------------------------------------------------------------------------
  44. function changegrid_Going_Up(NPC)
  45. SetGridID(NPC, 3049532766)
  46. end
  47. function changegrid_Going_Down(NPC)
  48. SetGridID(NPC, 3438300428)
  49. end