9
3

asludgewalkerhatchling392595.lua 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asludgewalkerhatchling392595.lua
  3. Script Purpose : Waypoint Path for asludgewalkerhatchling392595.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, -179.30, 1.26, 58.51, 2, math.random(12, 18))
  18. MovementLoopAddLocation(NPC, -179.27, 1.22, 56.08, 2, 0)
  19. MovementLoopAddLocation(NPC, -179.04, 1.25, 53.96, 2, 0)
  20. MovementLoopAddLocation(NPC, -179.19, 1.34, 48.83, 2, math.random(12, 18))
  21. MovementLoopAddLocation(NPC, -178.14, 1.58, 51.81, 2, 0)
  22. MovementLoopAddLocation(NPC, -177.25, 1.42, 54.69, 2, 0)
  23. MovementLoopAddLocation(NPC, -176.17, 1.46, 55.82, 2, 0)
  24. MovementLoopAddLocation(NPC, -174.83, 1.42, 57.49, 2, 0, "changegrid_Going_Up")
  25. MovementLoopAddLocation(NPC, -172.07, 1.87, 59.30, 2, 0)
  26. MovementLoopAddLocation(NPC, -171.03, 1.57, 60.25, 2, math.random(12, 18))
  27. MovementLoopAddLocation(NPC, -172.44, 1.79, 60.13, 2, 0)
  28. MovementLoopAddLocation(NPC, -172.47, 1.79, 60.15, 2, math.random(12, 18))
  29. MovementLoopAddLocation(NPC, -172.24, 1.78, 61.37, 2, 0)
  30. MovementLoopAddLocation(NPC, -172.27, 1.78, 61.27, 2, math.random(12, 18), "changegrid_Going_Down")
  31. MovementLoopAddLocation(NPC, -173.21, 1.73, 59.89, 2, 0)
  32. MovementLoopAddLocation(NPC, -175.49, 1.29, 57.89, 2, math.random(12, 18))
  33. MovementLoopAddLocation(NPC, -174.51, 1.22, 59.58, 2, 0)
  34. MovementLoopAddLocation(NPC, -172.31, 1.80, 62.23, 2, math.random(12, 18), "changegrid_Going_Up")
  35. MovementLoopAddLocation(NPC, -175.34, 1.22, 61.14, 2, 0, "changegrid_Going_Down")
  36. MovementLoopAddLocation(NPC, -176.41, 1.22, 60.22, 2, 0)
  37. MovementLoopAddLocation(NPC, -178.45, 1.24, 59.02, 2, 0)
  38. end
  39. --------------------------------------------------------------------------------------
  40. -- NPC Change Grid
  41. --------------------------------------------------------------------------------------
  42. function changegrid_Going_Up(NPC)
  43. SetGridID(NPC, 3098524280)
  44. end
  45. function changegrid_Going_Down(NPC)
  46. SetGridID(NPC, 2981397110)
  47. end