adiseasedratonga391866.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga391866.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga391866.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 03:27:18
  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.62, 0.00, 172.24, 2, math.random(12, 22), "changegrid_Going_Up")
  18. MovementLoopAddLocation(NPC, -182.56, 0.00, 172.37, 2, math.random(12, 22))
  19. MovementLoopAddLocation(NPC, -182.81, 0.00, 168.56, 2, 0, "changegrid_Going_Down")
  20. --MovementLoopAddLocation(NPC, -182.55, 0.00, 163.43, 2, math.random(12, 22))
  21. MovementLoopAddLocation(NPC, -182.76, 0.00, 166.90, 2, math.random(12, 22))
  22. MovementLoopAddLocation(NPC, -181.14, 0.00, 160.65, 2, math.random(12, 22))
  23. MovementLoopAddLocation(NPC, -182.58, 0.00, 156.53, 2, math.random(12, 22))
  24. MovementLoopAddLocation(NPC, -183.65, 0.03, 164.56, 2, math.random(12, 22))
  25. MovementLoopAddLocation(NPC, -180.79, 0.07, 163.40, 2, math.random(12, 22))
  26. MovementLoopAddLocation(NPC, -181.88, 0.00, 164.50, 2, 0)
  27. MovementLoopAddLocation(NPC, -183.17, 0.24, 170.63, 2, math.random(12, 22))
  28. MovementLoopAddLocation(NPC, -182.74, 0.00, 167.47, 2, 0)
  29. MovementLoopAddLocation(NPC, -183.05, 0.24, 160.55, 2, math.random(12, 22))
  30. MovementLoopAddLocation(NPC, -182.12, 0.00, 163.64, 2, 0)
  31. MovementLoopAddLocation(NPC, -182.07, 0.24, 170.61, 2, 0)
  32. end
  33. --------------------------------------------------------------------------------------
  34. -- NPC Change Grid
  35. --------------------------------------------------------------------------------------
  36. function changegrid_Going_Up(NPC)
  37. SetGridID(NPC, 667331216)
  38. end
  39. function changegrid_Going_Down(NPC)
  40. SetGridID(NPC, 3049532766)
  41. end