asludgewalkerhatchling392585.lua 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asludgewalkerhatchling392585.lua
  3. Script Purpose : Waypoint Path for asludgewalkerhatchling392585.lua
  4. Script Author : Rylec
  5. Script Date : 10-05-2019 09:22:13
  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, -182.20, 0.00, 182.36, 2, math.random(12, 18), "changegrid_Going_Down")
  18. MovementLoopAddLocation(NPC, -182.59, 0.33, 188.16, 2, 0, "changegrid_Going_Up")
  19. MovementLoopAddLocation(NPC, -183.20, 0.00, 190.60, 2, 0)
  20. MovementLoopAddLocation(NPC, -182.88, 0.00, 195.50, 2, 0)
  21. MovementLoopAddLocation(NPC, -183.23, 0.00, 196.78, 2, math.random(12, 18))
  22. MovementLoopAddLocation(NPC, -182.15, 0.09, 194.07, 2, 0)
  23. MovementLoopAddLocation(NPC, -182.15, 0.10, 194.00, 2, math.random(12, 18))
  24. MovementLoopAddLocation(NPC, -183.07, 0.28, 189.05, 2, 0)
  25. MovementLoopAddLocation(NPC, -182.99, 0.37, 188.01, 2, 0)
  26. MovementLoopAddLocation(NPC, -182.92, 0.00, 191.38, 2, 0)
  27. MovementLoopAddLocation(NPC, -183.41, 0.01, 194.46, 2, math.random(12, 18))
  28. MovementLoopAddLocation(NPC, -182.17, 0.00, 195.92, 2, math.random(12, 18))
  29. MovementLoopAddLocation(NPC, -182.40, 0.00, 193.22, 2, 0)
  30. MovementLoopAddLocation(NPC, -181.79, 0.00, 190.73, 2, 0)
  31. MovementLoopAddLocation(NPC, -182.62, 0.27, 188.65, 2, 0)
  32. MovementLoopAddLocation(NPC, -182.13, 0.00, 184.50, 2, math.random(12, 18), "changegrid_Going_Down")
  33. MovementLoopAddLocation(NPC, -182.53, 0.48, 187.31, 2, 0, "changegrid_Going_Up")
  34. MovementLoopAddLocation(NPC, -183.31, 0.27, 188.79, 2, 0)
  35. MovementLoopAddLocation(NPC, -183.27, 0.00, 190.79, 2, math.random(12, 18))
  36. MovementLoopAddLocation(NPC, -182.23, 0.00, 194.85, 2, 0)
  37. MovementLoopAddLocation(NPC, -182.29, 0.00, 194.97, 2, math.random(12, 18))
  38. MovementLoopAddLocation(NPC, -182.14, 0.45, 187.75, 2, 0)
  39. MovementLoopAddLocation(NPC, -181.92, 0.29, 186.40, 2, 0)
  40. end
  41. --------------------------------------------------------------------------------------
  42. -- NPC Change Grid
  43. --------------------------------------------------------------------------------------
  44. function changegrid_Going_Up(NPC)
  45. SetGridID(NPC, 1555937977)
  46. end
  47. function changegrid_Going_Down(NPC)
  48. SetGridID(NPC, 667331216)
  49. end