9
3

asludgewalkerhatchling392591.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asludgewalkerhatchling392591.lua
  3. Script Purpose : Waypoint Path for asludgewalkerhatchling392591.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, -172.23, 1.79, 62.10, 2, math.random(12, 18))
  18. MovementLoopAddLocation(NPC, -170.14, 1.22, 61.96, 2, 0)
  19. MovementLoopAddLocation(NPC, -169.05, 1.22, 61.28, 2, math.random(12, 18))
  20. MovementLoopAddLocation(NPC, -170.01, 1.22, 61.13, 2, 0)
  21. MovementLoopAddLocation(NPC, -171.12, 1.62, 61.19, 2, 0)
  22. MovementLoopAddLocation(NPC, -172.51, 1.79, 60.16, 2, 0)
  23. MovementLoopAddLocation(NPC, -174.49, 1.28, 58.94, 2, 0, "changegrid_Going_Down")
  24. MovementLoopAddLocation(NPC, -176.32, 1.23, 58.02, 2, 0)
  25. MovementLoopAddLocation(NPC, -176.39, 1.23, 57.92, 2, math.random(12, 18))
  26. MovementLoopAddLocation(NPC, -175.99, 1.22, 59.80, 2, 0)
  27. MovementLoopAddLocation(NPC, -176.51, 1.26, 61.14, 2, 0)
  28. MovementLoopAddLocation(NPC, -176.47, 1.27, 61.21, 2, math.random(12, 18))
  29. MovementLoopAddLocation(NPC, -174.32, 1.24, 61.84, 2, 0)
  30. MovementLoopAddLocation(NPC, -172.88, 1.78, 61.84, 2, 0, "changegrid_Going_Up")
  31. end
  32. --------------------------------------------------------------------------------------
  33. -- NPC Change Grid
  34. --------------------------------------------------------------------------------------
  35. function changegrid_Going_Up(NPC)
  36. SetGridID(NPC, 3098524280)
  37. end
  38. function changegrid_Going_Down(NPC)
  39. SetGridID(NPC, 2981397110)
  40. end