asludgewalkerhatchling392605.lua 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asludgewalkerhatchling392605.lua
  3. Script Purpose : Waypoint Path for asludgewalkerhatchling392605.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 03:26:57
  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, -183.22, 0.00, 172.62, 2, math.random(12, 18), "changegrid_Going_Up")
  18. MovementLoopAddLocation(NPC, -182.01, 0.00, 169.33, 2, 0, "changegrid_Going_Down")
  19. MovementLoopAddLocation(NPC, -181.67, 0.00, 167.10, 2, 0)
  20. MovementLoopAddLocation(NPC, -182.05, 0.00, 162.58, 2, 0)
  21. MovementLoopAddLocation(NPC, -181.67, 0.00, 162.06, 2, math.random(12, 18))
  22. MovementLoopAddLocation(NPC, -181.93, 0.00, 162.10, 2, 0)
  23. MovementLoopAddLocation(NPC, -181.96, 0.00, 164.41, 2, 0)
  24. MovementLoopAddLocation(NPC, -182.50, 0.00, 166.69, 2, 0)
  25. MovementLoopAddLocation(NPC, -182.68, 0.00, 168.04, 2, 0)
  26. MovementLoopAddLocation(NPC, -183.22, 0.00, 165.58, 2, 0)
  27. MovementLoopAddLocation(NPC, -184.38, 0.33, 160.77, 2, 0)
  28. MovementLoopAddLocation(NPC, -182.61, 0.00, 156.45, 2, 0)
  29. MovementLoopAddLocation(NPC, -182.62, 0.00, 156.45, 2, math.random(12, 18))
  30. MovementLoopAddLocation(NPC, -182.02, 0.00, 159.45, 2, 0)
  31. MovementLoopAddLocation(NPC, -181.58, 0.00, 164.33, 2, math.random(12, 18))
  32. MovementLoopAddLocation(NPC, -182.05, 0.00, 167.04, 2, 0)
  33. MovementLoopAddLocation(NPC, -181.60, 0.00, 169.34, 2, 0)
  34. MovementLoopAddLocation(NPC, -181.65, 0.24, 170.62, 2, math.random(12, 18))
  35. MovementLoopAddLocation(NPC, -181.61, 0.00, 172.47, 2, math.random(12, 18), "changegrid_Going_Up")
  36. MovementLoopAddLocation(NPC, -181.94, 0.23, 170.06, 2, 0, "changegrid_Going_Down")
  37. MovementLoopAddLocation(NPC, -181.47, 0.00, 168.09, 2, 0)
  38. MovementLoopAddLocation(NPC, -181.48, 0.00, 168.10, 2, math.random(12, 18))
  39. MovementLoopAddLocation(NPC, -181.46, 0.25, 170.41, 2, 0)
  40. end
  41. --------------------------------------------------------------------------------------
  42. -- NPC Change Grid
  43. --------------------------------------------------------------------------------------
  44. function changegrid_Going_Up(NPC)
  45. SetGridID(NPC, 667331216)
  46. end
  47. function changegrid_Going_Down(NPC)
  48. SetGridID(NPC, 3049532766)
  49. end