9
3

adiseasedratonga391867.lua 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga391867.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga391867.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:46:39
  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.66, 0.00, 200.62, 2, math.random(12, 22))
  18. MovementLoopAddLocation(NPC, -181.82, 0.09, 201.88, 2, 0)
  19. MovementLoopAddLocation(NPC, -181.98, 0.00, 206.02, 2, 0)
  20. MovementLoopAddLocation(NPC, -180.46, 0.36, 209.14, 2, 0)
  21. MovementLoopAddLocation(NPC, -179.62, 0.08, 212.02, 2, 0, "changegrid_Going_Up")
  22. MovementLoopAddLocation(NPC, -174.73, 0.00, 216.79, 2, 0)
  23. MovementLoopAddLocation(NPC, -174.68, 0.00, 216.77, 2, math.random(12, 22))
  24. MovementLoopAddLocation(NPC, -171.79, 0.00, 217.51, 2, math.random(12, 22))
  25. MovementLoopAddLocation(NPC, -174.79, 0.06, 215.57, 2, 0)
  26. MovementLoopAddLocation(NPC, -180.20, 0.10, 210.66, 2, 0)
  27. MovementLoopAddLocation(NPC, -181.10, 0.04, 207.39, 2, 0, "changegrid_Going_Down")
  28. MovementLoopAddLocation(NPC, -182.44, 0.00, 204.25, 2, math.random(12, 22))
  29. MovementLoopAddLocation(NPC, -178.71, 0.00, 216.51, 2, 0, "changegrid_Going_Up")
  30. MovementLoopAddLocation(NPC, -178.64, 0.00, 216.51, 2, math.random(12, 22))
  31. MovementLoopAddLocation(NPC, -182.35, 0.24, 209.32, 2, math.random(12, 22), "changegrid_Going_Down")
  32. MovementLoopAddLocation(NPC, -180.15, 0.07, 211.58, 2, 0, "changegrid_Going_Up")
  33. MovementLoopAddLocation(NPC, -179.63, 0.00, 213.52, 2, math.random(12, 22))
  34. MovementLoopAddLocation(NPC, -182.14, 0.00, 207.81, 2, 0, "changegrid_Going_Down")
  35. end
  36. --------------------------------------------------------------------------------------
  37. -- NPC Change Grid
  38. --------------------------------------------------------------------------------------
  39. function changegrid_Going_Up(NPC)
  40. SetGridID(NPC, 3053675711)
  41. end
  42. function changegrid_Going_Down(NPC)
  43. SetGridID(NPC, 1555937977)
  44. end