asewagerat392416.lua 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asludgewalkerhatchling392416.lua
  3. Script Purpose : Waypoint Path for asludgewalkerhatchling392416.lua
  4. Script Author : Rylec
  5. Script Date : 09-17-2019 08:39:48
  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.39, 1.34, 45.56, 2, math.random(10, 18))
  18. MovementLoopAddLocation(NPC, -179.79, 1.53, 53.47, 2, 0)
  19. MovementLoopAddLocation(NPC, -180.30, 1.22, 55.35, 2, math.random(10, 18))
  20. MovementLoopAddLocation(NPC, -180.05, 1.24, 53.97, 2, 0)
  21. MovementLoopAddLocation(NPC, -180.15, 1.34, 47.34, 2, math.random(10, 18))
  22. MovementLoopAddLocation(NPC, -179.22, 1.58, 52.26, 2, 0)
  23. MovementLoopAddLocation(NPC, -178.83, 1.22, 54.84, 2, 0)
  24. MovementLoopAddLocation(NPC, -177.40, 1.22, 57.12, 2, 0)
  25. MovementLoopAddLocation(NPC, -177.36, 1.22, 57.15, 2, math.random(10, 18))
  26. MovementLoopAddLocation(NPC, -174.10, 1.22, 59.94, 2, 0, "changegrid_Going_Up")
  27. MovementLoopAddLocation(NPC, -172.37, 1.78, 60.98, 2, math.random(10, 18), "changegrid_Going_Down")
  28. MovementLoopAddLocation(NPC, -174.68, 1.26, 59.06, 2, 0)
  29. MovementLoopAddLocation(NPC, -176.48, 1.25, 57.47, 2, 0)
  30. MovementLoopAddLocation(NPC, -176.87, 1.29, 56.58, 2, 0)
  31. MovementLoopAddLocation(NPC, -177.55, 1.35, 54.83, 2, 0)
  32. MovementLoopAddLocation(NPC, -178.43, 1.65, 52.99, 2, 0)
  33. MovementLoopAddLocation(NPC, -179.49, 1.34, 49.26, 2, math.random(10, 18))
  34. MovementLoopAddLocation(NPC, -179.34, 1.34, 50.66, 2, 0)
  35. MovementLoopAddLocation(NPC, -178.76, 1.22, 55.03, 2, 0)
  36. MovementLoopAddLocation(NPC, -179.05, 1.22, 58.22, 2, math.random(10, 18))
  37. MovementLoopAddLocation(NPC, -179.36, 1.22, 55.75, 2, 0)
  38. MovementLoopAddLocation(NPC, -179.83, 1.37, 53.77, 2, 0)
  39. end
  40. --------------------------------------------------------------------------------------
  41. -- NPC Change Grid
  42. --------------------------------------------------------------------------------------
  43. function changegrid_Going_Up(NPC)
  44. SetGridID(NPC, 3098524280)
  45. end
  46. function changegrid_Going_Down(NPC)
  47. SetGridID(NPC, 2981397110)
  48. end