9
3

adiseasedratonga391865.lua 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga391865.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga391865.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 03:27:16
  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, -181.57, 0.24, 160.47, 2, math.random(12, 22))
  18. MovementLoopAddLocation(NPC, -182.14, 0.00, 162.44, 2, 0)
  19. MovementLoopAddLocation(NPC, -184.14, 0.30, 170.58, 2, math.random(12, 22))
  20. MovementLoopAddLocation(NPC, -182.56, 0.24, 170.44, 2, 0)
  21. MovementLoopAddLocation(NPC, -182.56, 0.24, 170.43, 2, math.random(12, 22))
  22. MovementLoopAddLocation(NPC, -183.09, 0.00, 166.25, 2, 0)
  23. MovementLoopAddLocation(NPC, -182.58, 0.00, 158.75, 2, math.random(12, 22))
  24. MovementLoopAddLocation(NPC, -182.06, 0.00, 162.09, 2, 0)
  25. MovementLoopAddLocation(NPC, -179.71, 0.17, 172.33, 2, math.random(12, 22), "changegrid_Going_Up")
  26. MovementLoopAddLocation(NPC, -180.11, 0.17, 169.26, 2, 0, "changegrid_Going_Down")
  27. MovementLoopAddLocation(NPC, -181.43, 0.01, 166.47, 2, 0)
  28. MovementLoopAddLocation(NPC, -181.67, 0.00, 156.26, 2, math.random(12, 22))
  29. MovementLoopAddLocation(NPC, -181.52, 0.00, 159.01, 2, 0)
  30. MovementLoopAddLocation(NPC, -181.57, 0.24, 160.71, 2, 0)
  31. MovementLoopAddLocation(NPC, -182.00, 0.00, 162.08, 2, 0)
  32. MovementLoopAddLocation(NPC, -182.04, 0.00, 168.03, 2, 0)
  33. MovementLoopAddLocation(NPC, -181.51, 0.00, 169.27, 2, math.random(12, 22))
  34. MovementLoopAddLocation(NPC, -181.89, 0.00, 168.50, 2, 0)
  35. MovementLoopAddLocation(NPC, -181.52, 0.00, 166.49, 2, 0)
  36. MovementLoopAddLocation(NPC, -181.53, 0.00, 166.48, 2, math.random(12, 22))
  37. MovementLoopAddLocation(NPC, -181.58, 0.00, 164.54, 2, math.random(12, 22))
  38. MovementLoopAddLocation(NPC, -181.80, 0.00, 161.79, 2, 0)
  39. end
  40. --------------------------------------------------------------------------------------
  41. -- NPC Change Grid
  42. --------------------------------------------------------------------------------------
  43. function changegrid_Going_Up(NPC)
  44. SetGridID(NPC, 667331216)
  45. end
  46. function changegrid_Going_Down(NPC)
  47. SetGridID(NPC, 3049532766)
  48. end