9
3

atrashhopper393132.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/atrashhopper393132.lua
  3. Script Purpose : Waypoint Path for atrashhopper393132.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 04:46:08
  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.97, 0.05, 91.09, 2, math.random(8, 18), "changegrid_Going_Down")
  18. MovementLoopAddLocation(NPC, -175.04, 0.39, 92.80, 2, 0, "changegrid_Going_Up")
  19. MovementLoopAddLocation(NPC, -177.47, 0.17, 93.64, 2, 0)
  20. MovementLoopAddLocation(NPC, -180.22, 0.11, 96.30, 2, 0)
  21. MovementLoopAddLocation(NPC, -181.91, 0.48, 100.98, 2, math.random(8, 18))
  22. MovementLoopAddLocation(NPC, -177.74, 0.05, 91.14, 2, math.random(8, 18))
  23. MovementLoopAddLocation(NPC, -179.23, 0.05, 92.26, 2, 0)
  24. MovementLoopAddLocation(NPC, -180.12, 0.12, 96.24, 2, 0)
  25. MovementLoopAddLocation(NPC, -181.94, 0.27, 99.73, 2, 0)
  26. MovementLoopAddLocation(NPC, -181.78, 0.00, 104.14, 2, math.random(8, 18))
  27. MovementLoopAddLocation(NPC, -182.81, 0.04, 98.21, 2, math.random(8, 18))
  28. MovementLoopAddLocation(NPC, -183.12, 0.29, 100.01, 2, math.random(8, 18))
  29. MovementLoopAddLocation(NPC, -180.93, 0.05, 93.09, 2, math.random(8, 18))
  30. end
  31. --------------------------------------------------------------------------------------
  32. -- NPC Change Grid
  33. --------------------------------------------------------------------------------------
  34. function changegrid_Going_Up(NPC)
  35. SetGridID(NPC, 3049532766)
  36. end
  37. function changegrid_Going_Down(NPC)
  38. SetGridID(NPC, 3438300428)
  39. end