9
3

atrashhopper393125.lua 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/atrashhopper393125.lua
  3. Script Purpose : Waypoint Path for atrashhopper393125.lua
  4. Script Author : Rylec
  5. Script Date : 10-05-2019 09:21:50
  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, -184.80, 0.18, 197.67, 2, math.random(8, 18))
  18. MovementLoopAddLocation(NPC, -183.37, 0.00, 195.04, 2, 0)
  19. MovementLoopAddLocation(NPC, -183.83, 0.05, 191.20, 2, 0)
  20. MovementLoopAddLocation(NPC, -182.70, 0.28, 188.51, 2, 0)
  21. MovementLoopAddLocation(NPC, -182.15, 0.00, 195.73, 2, math.random(8, 18))
  22. MovementLoopAddLocation(NPC, -182.71, 0.00, 191.84, 2, 0)
  23. MovementLoopAddLocation(NPC, -182.06, 0.39, 186.92, 2, 0)
  24. MovementLoopAddLocation(NPC, -182.49, 0.00, 183.58, 2, 0, "changegrid_Going_Down")
  25. MovementLoopAddLocation(NPC, -183.31, 0.00, 191.70, 2, math.random(8, 18), "changegrid_Going_Up")
  26. MovementLoopAddLocation(NPC, -181.70, 0.00, 197.23, 2, 0)
  27. MovementLoopAddLocation(NPC, -182.76, 0.00, 192.88, 2, 0)
  28. MovementLoopAddLocation(NPC, -182.00, 0.29, 186.39, 2, 0)
  29. MovementLoopAddLocation(NPC, -182.67, 0.00, 182.78, 2, math.random(8, 18), "changegrid_Going_Down")
  30. MovementLoopAddLocation(NPC, -181.76, 0.33, 188.17, 2, 0, "changegrid_Going_Up")
  31. MovementLoopAddLocation(NPC, -182.05, 0.00, 194.68, 2, 0)
  32. end
  33. --------------------------------------------------------------------------------------
  34. -- NPC Change Grid
  35. --------------------------------------------------------------------------------------
  36. function changegrid_Going_Up(NPC)
  37. SetGridID(NPC, 1555937977)
  38. end
  39. function changegrid_Going_Down(NPC)
  40. SetGridID(NPC, 667331216)
  41. end