asewagerat392415.lua 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asewagerat392415.lua
  3. Script Purpose : Waypoint Path for asewagerat392415.lua
  4. Script Author : Rylec
  5. Script Date : 09-17-2019 08:36:33
  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, -180.06, 1.62, 12.28, 2, math.random(10, 18), "changegrid_Going_Down")
  18. MovementLoopAddLocation(NPC, -179.81, 1.69, 10.39, 2, 0)
  19. MovementLoopAddLocation(NPC, -179.20, 1.84, 8.11, 2, 0)
  20. MovementLoopAddLocation(NPC, -178.81, 1.26, 5.54, 2, 0, "changegrid_Going_Up")
  21. MovementLoopAddLocation(NPC, -177.04, 1.26, 1.70, 2, 0)
  22. MovementLoopAddLocation(NPC, -173.77, 1.26, 0.44, 2, 0)
  23. MovementLoopAddLocation(NPC, -173.81, 1.26, 0.47, 2, math.random(10, 18))
  24. MovementLoopAddLocation(NPC, -176.07, 1.26, 1.92, 2, math.random(10, 18))
  25. MovementLoopAddLocation(NPC, -178.12, 1.26, 4.24, 2, 0)
  26. MovementLoopAddLocation(NPC, -178.82, 1.26, 5.85, 2, 0)
  27. MovementLoopAddLocation(NPC, -179.93, 1.84, 7.66, 2, math.random(10, 18), "changegrid_Going_Down")
  28. MovementLoopAddLocation(NPC, -177.97, 1.29, 5.81, 2, 0, "changegrid_Going_Up")
  29. MovementLoopAddLocation(NPC, -176.96, 1.30, 4.49, 2, 0)
  30. MovementLoopAddLocation(NPC, -175.39, 1.32, 3.29, 2, 0)
  31. MovementLoopAddLocation(NPC, -173.82, 1.42, 2.77, 2, 0)
  32. MovementLoopAddLocation(NPC, -172.32, 1.76, 2.24, 2, 0)
  33. MovementLoopAddLocation(NPC, -171.33, 1.79, 2.40, 2, 0)
  34. MovementLoopAddLocation(NPC, -169.38, 1.34, 1.75, 2, math.random(10, 18))
  35. MovementLoopAddLocation(NPC, -171.27, 1.67, 1.71, 2, 0)
  36. MovementLoopAddLocation(NPC, -172.61, 1.77, 2.29, 2, 0)
  37. MovementLoopAddLocation(NPC, -173.89, 1.51, 3.37, 2, 0)
  38. MovementLoopAddLocation(NPC, -174.80, 1.62, 4.80, 2, 0)
  39. MovementLoopAddLocation(NPC, -178.45, 1.90, 7.65, 2, 0, "changegrid_Going_Down")
  40. MovementLoopAddLocation(NPC, -178.96, 1.63, 10.03, 2, math.random(10, 18))
  41. MovementLoopAddLocation(NPC, -179.05, 1.85, 7.82, 2, 0)
  42. MovementLoopAddLocation(NPC, -179.49, 1.26, 5.33, 2, math.random(10, 18), "changegrid_Going_Up")
  43. end
  44. --------------------------------------------------------------------------------------
  45. -- NPC Change Grid
  46. --------------------------------------------------------------------------------------
  47. function changegrid_Going_Up(NPC)
  48. SetGridID(NPC, 4000206445)
  49. end
  50. function changegrid_Going_Down(NPC)
  51. SetGridID(NPC, 2981397110)
  52. end