9
3

atrashhopper393136.lua 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/atrashhopper393136.lua
  3. Script Purpose : Waypoint Path for atrashhopper393136.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:46: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, -180.61, 0.01, 211.78, 2, math.random(8, 18))
  18. MovementLoopAddLocation(NPC, -181.49, 0.05, 214.71, 2, math.random(8, 18))
  19. MovementLoopAddLocation(NPC, -178.70, 0.08, 217.38, 2, 0)
  20. MovementLoopAddLocation(NPC, -175.47, 0.00, 217.84, 2, math.random(8, 18))
  21. MovementLoopAddLocation(NPC, -178.23, 0.06, 213.74, 2, 0)
  22. MovementLoopAddLocation(NPC, -180.41, 0.05, 211.46, 2, 0)
  23. MovementLoopAddLocation(NPC, -181.16, 0.28, 209.19, 2, 0, "changegrid_Going_Down")
  24. MovementLoopAddLocation(NPC, -181.36, 0.14, 204.36, 2, 0)
  25. MovementLoopAddLocation(NPC, -182.34, 0.00, 201.92, 2, math.random(8, 18))
  26. MovementLoopAddLocation(NPC, -182.64, 0.00, 204.98, 2, 0)
  27. MovementLoopAddLocation(NPC, -181.12, 0.28, 209.11, 2, 0)
  28. MovementLoopAddLocation(NPC, -178.88, 0.26, 211.33, 2, 0, "changegrid_Going_Up")
  29. MovementLoopAddLocation(NPC, -176.47, 0.00, 215.88, 2, 0)
  30. MovementLoopAddLocation(NPC, -173.69, 0.00, 216.95, 2, math.random(8, 18))
  31. MovementLoopAddLocation(NPC, -176.39, 0.23, 213.99, 2, 0)
  32. MovementLoopAddLocation(NPC, -178.74, 0.13, 212.47, 2, 0)
  33. MovementLoopAddLocation(NPC, -180.38, 0.38, 209.34, 2, 0, "changegrid_Going_Down")
  34. MovementLoopAddLocation(NPC, -182.61, 0.00, 206.70, 2, 0)
  35. MovementLoopAddLocation(NPC, -182.59, 0.00, 206.68, 2, math.random(8, 18))
  36. MovementLoopAddLocation(NPC, -181.56, 0.24, 208.80, 2, 0)
  37. MovementLoopAddLocation(NPC, -178.76, 0.19, 212.01, 2, 0, "changegrid_Going_Up")
  38. MovementLoopAddLocation(NPC, -174.65, 0.00, 217.95, 2, math.random(8, 18))
  39. MovementLoopAddLocation(NPC, -179.29, 0.08, 212.44, 2, 0)
  40. end
  41. --------------------------------------------------------------------------------------
  42. -- NPC Change Grid
  43. --------------------------------------------------------------------------------------
  44. function changegrid_Going_Up(NPC)
  45. SetGridID(NPC, 3053675711)
  46. end
  47. function changegrid_Going_Down(NPC)
  48. SetGridID(NPC, 1555937977)
  49. end